Pull request #30 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 farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 4c4ab6af09efedeff12eed0a9f83e12c8148dad6+73afea3ace466341e80d38fe07fac6720914120d (c2da98ff1c9ea593b07820d130b034343b0458a6) 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-ssh16228973349094714975.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh16855731325895406505.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-30/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-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh274166949300990587.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh10927574534715736109.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-30/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-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10709014962262567048.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16956 in /w/workspace/xfoundry_device-usb-camera_PR-30 [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/xfoundry_device-usb-camera_PR-30 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 Merge succeeded, producing 65c503c98ad8e95d1116be54ee6b90f7c01c6689 Checking out Revision 65c503c98ad8e95d1116be54ee6b90f7c01c6689 (PR-30) > 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/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 # 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 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65c503c98ad8e95d1116be54ee6b90f7c01c6689 # timeout=10 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-05T13:47:12.939Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-05T13:47:13.022Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-05T13:47:13.042Z] ========================================================= [2022-07-05T13:47:13.043Z] EdgeX Global Pipelines Version Info [2022-07-05T13:47:13.043Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c89d4d4447a68fea9f1e62be523674f62aa292a2 # timeout=10 [2022-07-05T13:47:13.842Z] ------------------- [2022-07-05T13:47:13.842Z] stable info: [2022-07-05T13:47:13.842Z] ------------------- [2022-07-05T13:47:13.842Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-05T13:47:13.842Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-05T13:47:13.842Z] Message: update stable to v1.0.234 [2022-07-05T13:47:14.416Z] ------------------- [2022-07-05T13:47:14.416Z] experimental info: [2022-07-05T13:47:14.416Z] ------------------- [2022-07-05T13:47:14.416Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-05T13:47:14.416Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-05T13:47:14.416Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-05T13:47:14.650Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-05T13:47:14.666Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-05T13:47:14.682Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-05T13:47:14.696Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-05T13:47:14.710Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-05T13:47:14.724Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-05T13:47:14.738Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-05T13:47:14.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-05T13:47:14.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-05T13:47:14.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-05T13:47:14.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-05T13:47:14.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-05T13:47:14.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-05T13:47:14.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-05T13:47:14.861Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-05T13:47:14.877Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-05T13:47:14.892Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-05T13:47:14.908Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-05T13:47:14.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-05T13:47:14.937Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-05T13:47:14.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-05T13:47:14.967Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-05T13:47:14.983Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-05T13:47:14.999Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-05T13:47:15.013Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-05T13:47:15.029Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-05T13:47:15.043Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-05T13:47:15.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-07-05T13:47:15.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-07-05T13:47:15.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-07-05T13:47:15.106Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65c503c98ad8e95d1116be54ee6b90f7c01c6689 [Pipeline] echo [2022-07-05T13:47:15.120Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65c503c [Pipeline] echo [2022-07-05T13:47:15.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-05T13:47:15.182Z] provisioning config files... [2022-07-05T13:47:15.198Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4671681263392078328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:47:15.512Z] ---> docker-login.sh [2022-07-05T13:47:15.513Z] nexus3.edgexfoundry.org:10001 [2022-07-05T13:47:15.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:15.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:15.774Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:15.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:15.774Z] [2022-07-05T13:47:15.774Z] Login Succeeded [2022-07-05T13:47:15.774Z] nexus3.edgexfoundry.org:10002 [2022-07-05T13:47:16.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:16.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:16.036Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:16.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:16.036Z] [2022-07-05T13:47:16.036Z] Login Succeeded [2022-07-05T13:47:16.036Z] nexus3.edgexfoundry.org:10003 [2022-07-05T13:47:16.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:16.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:16.036Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:16.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:16.036Z] [2022-07-05T13:47:16.036Z] Login Succeeded [2022-07-05T13:47:16.036Z] nexus3.edgexfoundry.org:10004 [2022-07-05T13:47:16.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:16.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:16.298Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:16.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:16.298Z] [2022-07-05T13:47:16.298Z] Login Succeeded [2022-07-05T13:47:16.298Z] docker.io [2022-07-05T13:47:16.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:16.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:16.871Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:16.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:16.871Z] [2022-07-05T13:47:16.871Z] Login Succeeded [2022-07-05T13:47:16.871Z] ---> docker-login.sh ends [Pipeline] } [2022-07-05T13:47:16.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-05T13:47:17.293Z] + git rev-list -1 --merges 65c503c98ad8e95d1116be54ee6b90f7c01c6689~1..65c503c98ad8e95d1116be54ee6b90f7c01c6689 [Pipeline] echo [2022-07-05T13:47:17.420Z] -----------> git rev-list -1 --merges 65c503c98ad8e95d1116be54ee6b90f7c01c6689~1..65c503c98ad8e95d1116be54ee6b90f7c01c6689 65c503c98ad8e95d1116be54ee6b90f7c01c6689 [2022-07-05T13:47:17.420Z] 65c503c98ad8e95d1116be54ee6b90f7c01c6689 [false] [Pipeline] sh [2022-07-05T13:47:17.725Z] + git log --format=format:%s -1 65c503c98ad8e95d1116be54ee6b90f7c01c6689 [Pipeline] echo [2022-07-05T13:47:17.741Z] ========================================================= [2022-07-05T13:47:17.741Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-05T13:47:17.741Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-05T13:47:18.090Z] + git log --format=format:%s -1 65c503c98ad8e95d1116be54ee6b90f7c01c6689 [Pipeline] echo [2022-07-05T13:47:18.103Z] [semverPrep] GIT_COMMIT: 65c503c98ad8e95d1116be54ee6b90f7c01c6689, Commit Message: Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD [Pipeline] echo [2022-07-05T13:47:18.112Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-05T13:47:18.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-05T13:47:18.488Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-05T13:47:18.488Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-05T13:47:18.488Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-05T13:47:18.488Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-05T13:47:18.488Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-05T13:47:18.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:47:18.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-05T13:47:18.978Z] [2022-07-05T13:47:18.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:47:19.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-05T13:47:19.296Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-05T13:47:19.296Z] 42c077c10790: Pulling fs layer [2022-07-05T13:47:19.296Z] f63e77b7563a: Pulling fs layer [2022-07-05T13:47:19.296Z] bd5fdadae976: Pulling fs layer [2022-07-05T13:47:19.296Z] 205491f53016: Pulling fs layer [2022-07-05T13:47:19.296Z] df18705c85c3: Pulling fs layer [2022-07-05T13:47:19.296Z] bdb3f477010e: Pulling fs layer [2022-07-05T13:47:19.296Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-05T13:47:19.296Z] 2c6e9b1d212d: Pulling fs layer [2022-07-05T13:47:19.296Z] bdb8f0575790: Pulling fs layer [2022-07-05T13:47:19.296Z] 386e3cb2ff24: Pulling fs layer [2022-07-05T13:47:19.296Z] 2343380bae48: Pulling fs layer [2022-07-05T13:47:19.296Z] 205491f53016: Waiting [2022-07-05T13:47:19.296Z] df18705c85c3: Waiting [2022-07-05T13:47:19.296Z] bdb3f477010e: Waiting [2022-07-05T13:47:19.296Z] c8a8fc8e1c8f: Waiting [2022-07-05T13:47:19.296Z] 2c6e9b1d212d: Waiting [2022-07-05T13:47:19.296Z] bdb8f0575790: Waiting [2022-07-05T13:47:19.296Z] 386e3cb2ff24: Waiting [2022-07-05T13:47:19.296Z] 2343380bae48: Waiting [2022-07-05T13:47:19.296Z] f63e77b7563a: Verifying Checksum [2022-07-05T13:47:19.296Z] f63e77b7563a: Download complete [2022-07-05T13:47:19.296Z] 205491f53016: Verifying Checksum [2022-07-05T13:47:19.296Z] 205491f53016: Download complete [2022-07-05T13:47:19.557Z] df18705c85c3: Verifying Checksum [2022-07-05T13:47:19.558Z] df18705c85c3: Download complete [2022-07-05T13:47:19.558Z] bd5fdadae976: Verifying Checksum [2022-07-05T13:47:19.558Z] bd5fdadae976: Download complete [2022-07-05T13:47:19.558Z] bdb3f477010e: Download complete [2022-07-05T13:47:19.558Z] 2c6e9b1d212d: Download complete [2022-07-05T13:47:19.558Z] bdb8f0575790: Download complete [2022-07-05T13:47:19.558Z] 386e3cb2ff24: Verifying Checksum [2022-07-05T13:47:19.558Z] 386e3cb2ff24: Download complete [2022-07-05T13:47:19.558Z] 2343380bae48: Verifying Checksum [2022-07-05T13:47:19.558Z] 2343380bae48: Download complete [2022-07-05T13:47:19.558Z] 42c077c10790: Verifying Checksum [2022-07-05T13:47:19.558Z] 42c077c10790: Download complete [2022-07-05T13:47:19.823Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-05T13:47:19.823Z] c8a8fc8e1c8f: Download complete [2022-07-05T13:47:21.211Z] 42c077c10790: Pull complete [2022-07-05T13:47:21.211Z] f63e77b7563a: Pull complete [2022-07-05T13:47:21.782Z] bd5fdadae976: Pull complete [2022-07-05T13:47:21.782Z] 205491f53016: Pull complete [2022-07-05T13:47:22.044Z] df18705c85c3: Pull complete [2022-07-05T13:47:22.306Z] bdb3f477010e: Pull complete [2022-07-05T13:47:24.218Z] c8a8fc8e1c8f: Pull complete [2022-07-05T13:47:24.218Z] 2c6e9b1d212d: Pull complete [2022-07-05T13:47:24.478Z] bdb8f0575790: Pull complete [2022-07-05T13:47:24.478Z] 386e3cb2ff24: Pull complete [2022-07-05T13:47:24.745Z] 2343380bae48: Pull complete [2022-07-05T13:47:24.745Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-05T13:47:24.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-05T13:47:24.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-05T13:47:24.864Z] prd-ubuntu20.04-docker-8c-8g-16956 does not seem to be running inside a container [2022-07-05T13:47:24.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-05T13:47:26.288Z] $ docker top 4dd0a999033c40bdb952c0d7bb1d4e5f13d79c46a98917bbb11a964777da03f4 -eo pid,comm [2022-07-05T13:47:26.366Z] 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). [2022-07-05T13:47:26.366Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-05T13:47:26.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-05T13:47:26.412Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-05T13:47:26.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-05T13:47:26.548Z] $ docker exec 4dd0a999033c40bdb952c0d7bb1d4e5f13d79c46a98917bbb11a964777da03f4 ssh-agent [2022-07-05T13:47:26.703Z] SSH_AUTH_SOCK=/tmp/ssh-KYfbYyxYNqBF/agent.34 [2022-07-05T13:47:26.703Z] SSH_AGENT_PID=40 [2022-07-05T13:47:26.712Z] Running ssh-add (command line suppressed) [2022-07-05T13:47:26.836Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_2915724561743679684.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_2915724561743679684.key) [2022-07-05T13:47:26.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-05T13:47:27.149Z] + git tag --points-at HEAD [Pipeline] } [2022-07-05T13:47:27.167Z] $ docker exec --env ******** --env ******** 4dd0a999033c40bdb952c0d7bb1d4e5f13d79c46a98917bbb11a964777da03f4 ssh-agent -k [2022-07-05T13:47:27.288Z] unset SSH_AUTH_SOCK; [2022-07-05T13:47:27.289Z] unset SSH_AGENT_PID; [2022-07-05T13:47:27.289Z] echo Agent pid 40 killed; [2022-07-05T13:47:27.304Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-05T13:47:27.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-05T13:47:27.330Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-05T13:47:27.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-05T13:47:27.468Z] $ docker exec 4dd0a999033c40bdb952c0d7bb1d4e5f13d79c46a98917bbb11a964777da03f4 ssh-agent [2022-07-05T13:47:27.605Z] SSH_AUTH_SOCK=/tmp/ssh-JHpR2mpmhq3k/agent.74 [2022-07-05T13:47:27.605Z] SSH_AGENT_PID=80 [2022-07-05T13:47:27.611Z] Running ssh-add (command line suppressed) [2022-07-05T13:47:27.740Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_8248799072363608548.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_8248799072363608548.key) [2022-07-05T13:47:27.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-05T13:47:28.053Z] + git semver init [2022-07-05T13:47:28.316Z] 2022-07-05 13:47:28,243 [run_init] DEBUG init version:0.0.0 force:False [2022-07-05T13:47:28.316Z] 2022-07-05 13:47:28,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-07-05T13:47:28.316Z] 2022-07-05 13:47:28,244 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-07-05T13:47:28.316Z] 2022-07-05 13:47:28,244 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) [2022-07-05T13:47:28.890Z] 2022-07-05 13:47:28,801 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-07-05T13:47:28.890Z] 2022-07-05 13:47:28,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False [2022-07-05T13:47:28.890Z] 2022-07-05 13:47:28,802 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-07-05T13:47:28.890Z] 2022-07-05 13:47:28,805 [execute] INFO git cat-file --batch-check [2022-07-05T13:47:28.890Z] 2022-07-05 13:47:28,806 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-07-05T13:47:28.890Z] 2022-07-05 13:47:28,812 [execute] INFO git cat-file --batch [2022-07-05T13:47:28.890Z] 2022-07-05 13:47:28,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-07-05T13:47:28.890Z] 2022-07-05 13:47:28,815 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-07-05T13:47:28.890Z] 0.0.0 [Pipeline] } [2022-07-05T13:47:28.899Z] $ docker exec --env ******** --env ******** 4dd0a999033c40bdb952c0d7bb1d4e5f13d79c46a98917bbb11a964777da03f4 ssh-agent -k [2022-07-05T13:47:29.031Z] unset SSH_AUTH_SOCK; [2022-07-05T13:47:29.031Z] unset SSH_AGENT_PID; [2022-07-05T13:47:29.031Z] echo Agent pid 80 killed; [2022-07-05T13:47:29.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-05T13:47:29.380Z] + git semver [Pipeline] } [2022-07-05T13:47:29.655Z] $ docker stop --time=1 4dd0a999033c40bdb952c0d7bb1d4e5f13d79c46a98917bbb11a964777da03f4 [2022-07-05T13:47:31.023Z] $ docker rm -f 4dd0a999033c40bdb952c0d7bb1d4e5f13d79c46a98917bbb11a964777da03f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-05T13:47:31.396Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-05T13:47:31.680Z] Stashed 1 file(s) [Pipeline] echo [2022-07-05T13:47:31.682Z] [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 [2022-07-05T13:47:31.856Z] provisioning config files... [2022-07-05T13:47:31.867Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config5738796870946740716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:47:32.169Z] ---> docker-login.sh [2022-07-05T13:47:32.170Z] nexus3.edgexfoundry.org:10001 [2022-07-05T13:47:32.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:32.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:32.170Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:32.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:32.170Z] [2022-07-05T13:47:32.170Z] Login Succeeded [2022-07-05T13:47:32.170Z] nexus3.edgexfoundry.org:10002 [2022-07-05T13:47:32.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:32.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:32.432Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:32.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:32.432Z] [2022-07-05T13:47:32.432Z] Login Succeeded [2022-07-05T13:47:32.432Z] nexus3.edgexfoundry.org:10003 [2022-07-05T13:47:32.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:32.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:32.432Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:32.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:32.432Z] [2022-07-05T13:47:32.432Z] Login Succeeded [2022-07-05T13:47:32.432Z] nexus3.edgexfoundry.org:10004 [2022-07-05T13:47:32.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:32.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:32.694Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:32.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:32.694Z] [2022-07-05T13:47:32.694Z] Login Succeeded [2022-07-05T13:47:32.694Z] docker.io [2022-07-05T13:47:32.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:47:33.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:47:33.270Z] Configure a credential helper to remove this warning. See [2022-07-05T13:47:33.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:47:33.270Z] [2022-07-05T13:47:33.270Z] Login Succeeded [2022-07-05T13:47:33.270Z] ---> docker-login.sh ends [Pipeline] } [2022-07-05T13:47:33.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-05T13:47:33.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-05T13:47:33.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-05T13:47:33.389Z] ========================================================= [2022-07-05T13:47:33.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-05T13:47:33.389Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:47:33.721Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-05T13:47:33.721Z] Sending build context to Docker daemon 750.1kB [2022-07-05T13:47:33.721Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-05T13:47:33.721Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-05T13:47:33.721Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-05T13:47:33.721Z] 59bf1c3509f3: Pulling fs layer [2022-07-05T13:47:33.721Z] 666ba61612fd: Pulling fs layer [2022-07-05T13:47:33.721Z] 8ed8ca486205: Pulling fs layer [2022-07-05T13:47:33.721Z] cc1cd167ecdc: Pulling fs layer [2022-07-05T13:47:33.721Z] c516ae0d96e1: Pulling fs layer [2022-07-05T13:47:33.721Z] 684cea983483: Pulling fs layer [2022-07-05T13:47:33.721Z] dd3240ac7de5: Pulling fs layer [2022-07-05T13:47:33.721Z] b1e948a4e11c: Pulling fs layer [2022-07-05T13:47:33.721Z] a8fd76ee1af6: Pulling fs layer [2022-07-05T13:47:33.721Z] 646ad004c059: Pulling fs layer [2022-07-05T13:47:33.721Z] dd3240ac7de5: Waiting [2022-07-05T13:47:33.721Z] 684cea983483: Waiting [2022-07-05T13:47:33.721Z] b1e948a4e11c: Waiting [2022-07-05T13:47:33.721Z] 646ad004c059: Waiting [2022-07-05T13:47:33.721Z] a8fd76ee1af6: Waiting [2022-07-05T13:47:33.721Z] cc1cd167ecdc: Waiting [2022-07-05T13:47:33.721Z] c516ae0d96e1: Waiting [2022-07-05T13:47:33.721Z] 8ed8ca486205: Download complete [2022-07-05T13:47:33.721Z] 666ba61612fd: Download complete [2022-07-05T13:47:33.989Z] c516ae0d96e1: Verifying Checksum [2022-07-05T13:47:33.989Z] c516ae0d96e1: Download complete [2022-07-05T13:47:33.989Z] 684cea983483: Verifying Checksum [2022-07-05T13:47:33.989Z] 684cea983483: Download complete [2022-07-05T13:47:33.989Z] 59bf1c3509f3: Verifying Checksum [2022-07-05T13:47:33.989Z] 59bf1c3509f3: Download complete [2022-07-05T13:47:33.989Z] dd3240ac7de5: Verifying Checksum [2022-07-05T13:47:33.989Z] dd3240ac7de5: Download complete [2022-07-05T13:47:33.989Z] b1e948a4e11c: Verifying Checksum [2022-07-05T13:47:33.989Z] b1e948a4e11c: Download complete [2022-07-05T13:47:33.989Z] 59bf1c3509f3: Pull complete [2022-07-05T13:47:34.261Z] 666ba61612fd: Pull complete [2022-07-05T13:47:34.523Z] 8ed8ca486205: Pull complete [2022-07-05T13:47:34.523Z] 646ad004c059: Verifying Checksum [2022-07-05T13:47:34.523Z] 646ad004c059: Download complete [2022-07-05T13:47:34.523Z] a8fd76ee1af6: Verifying Checksum [2022-07-05T13:47:34.523Z] a8fd76ee1af6: Download complete [2022-07-05T13:47:34.785Z] cc1cd167ecdc: Verifying Checksum [2022-07-05T13:47:34.785Z] cc1cd167ecdc: Download complete [2022-07-05T13:47:38.988Z] cc1cd167ecdc: Pull complete [2022-07-05T13:47:38.988Z] c516ae0d96e1: Pull complete [2022-07-05T13:47:39.248Z] 684cea983483: Pull complete [2022-07-05T13:47:39.248Z] dd3240ac7de5: Pull complete [2022-07-05T13:47:39.509Z] b1e948a4e11c: Pull complete [2022-07-05T13:47:42.050Z] a8fd76ee1af6: Pull complete [2022-07-05T13:47:42.621Z] 646ad004c059: Pull complete [2022-07-05T13:47:42.621Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-05T13:47:42.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-05T13:47:42.621Z] ---> 8f69c11f6b0c [2022-07-05T13:47:42.621Z] Step 3/12 : ARG MAKE="make build" [2022-07-05T13:47:44.539Z] ---> Running in 21200223066e [2022-07-05T13:47:44.801Z] Removing intermediate container 21200223066e [2022-07-05T13:47:44.801Z] ---> 990d290c0a90 [2022-07-05T13:47:44.801Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-05T13:47:44.801Z] ---> Running in 754432c1850f [2022-07-05T13:47:45.068Z] Removing intermediate container 754432c1850f [2022-07-05T13:47:45.068Z] ---> 29fff7a4faa2 [2022-07-05T13:47:45.068Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-05T13:47:45.331Z] ---> Running in 30b35598b40b [2022-07-05T13:47:45.331Z] Removing intermediate container 30b35598b40b [2022-07-05T13:47:45.331Z] ---> 4c60dbeae82a [2022-07-05T13:47:45.331Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-05T13:47:45.331Z] ---> Running in 352b4034fddd [2022-07-05T13:47:46.280Z] Removing intermediate container 352b4034fddd [2022-07-05T13:47:46.280Z] ---> 3b8882076dfb [2022-07-05T13:47:46.280Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-05T13:47:46.280Z] ---> Running in fa9347ceaa1a [2022-07-05T13:47:46.542Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-05T13:47:46.803Z] Still waiting to schedule task [2022-07-05T13:47:46.803Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-05T13:47:47.489Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-05T13:47:47.752Z] (1/81) Installing mesa (21.2.6-r0) [2022-07-05T13:47:47.752Z] (2/81) Installing libxau (1.0.9-r0) [2022-07-05T13:47:47.752Z] (3/81) Installing libmd (1.0.3-r0) [2022-07-05T13:47:48.014Z] (4/81) Installing libbsd (0.11.3-r1) [2022-07-05T13:47:48.014Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-07-05T13:47:48.014Z] (6/81) Installing libxcb (1.14-r2) [2022-07-05T13:47:48.275Z] (7/81) Installing libx11 (1.7.2-r0) [2022-07-05T13:47:48.275Z] (8/81) Installing libxext (1.3.4-r0) [2022-07-05T13:47:48.275Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-07-05T13:47:48.540Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-07-05T13:47:48.540Z] (11/81) Installing libpciaccess (0.16-r0) [2022-07-05T13:47:48.540Z] (12/81) Installing libdrm (2.4.109-r0) [2022-07-05T13:47:48.804Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-07-05T13:47:48.804Z] (14/81) Installing libxshmfence (1.3-r1) [2022-07-05T13:47:48.804Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-07-05T13:47:49.067Z] (16/81) Installing libice (1.0.10-r0) [2022-07-05T13:47:49.067Z] (17/81) Installing libuuid (2.37.4-r0) [2022-07-05T13:47:49.067Z] (18/81) Installing libsm (1.2.3-r0) [2022-07-05T13:47:49.329Z] (19/81) Installing libxt (1.2.1-r0) [2022-07-05T13:47:49.329Z] (20/81) Installing libxmu (1.1.3-r0) [2022-07-05T13:47:49.329Z] (21/81) Installing xset (1.2.4-r0) [2022-07-05T13:47:49.592Z] (22/81) Installing xprop (1.2.5-r0) [2022-07-05T13:47:49.593Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-07-05T13:47:49.593Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-07-05T13:47:49.854Z] (25/81) Installing libffi (3.4.2-r1) [2022-07-05T13:47:49.854Z] (26/81) Installing libintl (0.21-r0) [2022-07-05T13:47:49.854Z] (27/81) Installing libblkid (2.37.4-r0) [2022-07-05T13:47:50.117Z] (28/81) Installing libmount (2.37.4-r0) [2022-07-05T13:47:50.117Z] (29/81) Installing pcre (8.45-r1) [2022-07-05T13:47:50.117Z] (30/81) Installing glib (2.70.1-r0) [2022-07-05T13:47:50.378Z] (31/81) Installing icu-libs (69.1-r1) [2022-07-05T13:47:51.323Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-07-05T13:47:51.323Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-07-05T13:47:51.323Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-07-05T13:47:51.588Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-07-05T13:47:51.588Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-07-05T13:47:51.850Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-07-05T13:47:51.850Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-07-05T13:47:51.850Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-07-05T13:47:52.110Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-07-05T13:47:52.372Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-07-05T13:47:52.372Z] (42/81) Installing libpng (1.6.37-r1) [2022-07-05T13:47:52.372Z] (43/81) Installing freetype (2.11.1-r2) [2022-07-05T13:47:52.632Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-07-05T13:47:52.632Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-07-05T13:47:52.894Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-07-05T13:47:52.894Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-07-05T13:47:52.894Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-07-05T13:47:53.154Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-07-05T13:47:53.154Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-07-05T13:47:53.154Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-07-05T13:47:53.415Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-07-05T13:47:53.415Z] (53/81) Installing avahi-libs (0.8-r5) [2022-07-05T13:47:53.415Z] (54/81) Installing nettle (3.7.3-r0) [2022-07-05T13:47:53.675Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-07-05T13:47:53.675Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-07-05T13:47:53.675Z] (57/81) Installing libunistring (0.9.10-r1) [2022-07-05T13:47:53.936Z] (58/81) Installing gnutls (3.7.1-r0) [2022-07-05T13:47:53.936Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-07-05T13:47:54.196Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-07-05T13:47:54.196Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-07-05T13:47:54.196Z] (62/81) Installing libevdev (1.12.0-r0) [2022-07-05T13:47:54.458Z] (63/81) Installing mtdev (1.1.6-r0) [2022-07-05T13:47:54.458Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-05T13:47:54.458Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-07-05T13:47:54.718Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-07-05T13:47:54.718Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-07-05T13:47:54.718Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-07-05T13:47:54.978Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-07-05T13:47:54.978Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-05T13:47:54.978Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-05T13:47:55.239Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-07-05T13:47:55.239Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-07-05T13:47:55.809Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-07-05T13:47:55.809Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-07-05T13:47:55.809Z] (76/81) Installing udev-init-scripts (35-r0) [2022-07-05T13:47:56.070Z] Executing udev-init-scripts-35-r0.post-install [2022-07-05T13:47:56.070Z] (77/81) Installing kmod-libs (29-r2) [2022-07-05T13:47:56.070Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-07-05T13:47:56.070Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-07-05T13:47:56.351Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-05T13:47:56.351Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-07-05T13:47:56.351Z] Executing busybox-1.34.1-r3.trigger [2022-07-05T13:47:56.351Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-05T13:47:56.610Z] OK: 335 MiB in 133 packages [2022-07-05T13:47:58.521Z] Removing intermediate container fa9347ceaa1a [2022-07-05T13:47:58.521Z] ---> 4bd6bef5aefa [2022-07-05T13:47:58.521Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-05T13:47:58.521Z] ---> Running in e9f257f9455c [2022-07-05T13:47:58.782Z] Removing intermediate container e9f257f9455c [2022-07-05T13:47:58.782Z] ---> 70f3a80f6a94 [2022-07-05T13:47:58.782Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-05T13:47:58.782Z] ---> f528ab0e70e2 [2022-07-05T13:47:58.782Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-05T13:47:59.043Z] ---> Running in 9bc61d2e9b1f [2022-07-05T13:48:17.162Z] Removing intermediate container 9bc61d2e9b1f [2022-07-05T13:48:17.162Z] ---> ef0f3a891c95 [2022-07-05T13:48:17.162Z] Step 11/12 : COPY . . [2022-07-05T13:48:17.424Z] ---> 5ffda6fcb40b [2022-07-05T13:48:17.424Z] Step 12/12 : RUN ${MAKE} [2022-07-05T13:48:17.684Z] ---> Running in af0be3850d32 [2022-07-05T13:48:17.946Z] noop [2022-07-05T13:48:18.207Z] Removing intermediate container af0be3850d32 [2022-07-05T13:48:18.207Z] ---> 5da68066df06 [2022-07-05T13:48:18.207Z] Successfully built 5da68066df06 [2022-07-05T13:48:18.207Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:48:18.536Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-05T13:48:18.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-05T13:48:18.625Z] prd-ubuntu20.04-docker-8c-8g-16956 does not seem to be running inside a container [2022-07-05T13:48:18.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-05T13:48:19.139Z] $ docker top 340a6315551c27909ece5db347d4550f3ebb92aebea2b2b4b524416554637376 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-05T13:48:19.556Z] + go version [2022-07-05T13:48:19.556Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-05T13:48:19.586Z] $ docker stop --time=1 340a6315551c27909ece5db347d4550f3ebb92aebea2b2b4b524416554637376 [2022-07-05T13:48:20.917Z] $ docker rm -f 340a6315551c27909ece5db347d4550f3ebb92aebea2b2b4b524416554637376 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:48:21.355Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-05T13:48:21.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-05T13:48:21.443Z] prd-ubuntu20.04-docker-8c-8g-16956 does not seem to be running inside a container [2022-07-05T13:48:21.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-05T13:48:21.931Z] $ docker top bdee28aa929c1b6d77648de292a9d3c5f499fa28a4e70b8e3d92a844a59359b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-05T13:48:22.303Z] + make test [2022-07-05T13:48:22.303Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-05T13:48:22.562Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-05T13:48:34.788Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-05T13:48:34.788Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-05T13:48:41.377Z] CGO_ENABLED=1 go vet ./... [2022-07-05T13:48:45.585Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-05T13:48:45.585Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-05T13:48:45.585Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-05T13:48:45.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-05T13:48:45.880Z] $ docker stop --time=1 bdee28aa929c1b6d77648de292a9d3c5f499fa28a4e70b8e3d92a844a59359b5 [2022-07-05T13:48:47.884Z] $ docker rm -f bdee28aa929c1b6d77648de292a9d3c5f499fa28a4e70b8e3d92a844a59359b5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-05T13:48:48.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-05T13:48:48.374Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-05T13:48:48.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-05T13:48:49.247Z] + ls -al . [2022-07-05T13:48:49.247Z] total 168 [2022-07-05T13:48:49.247Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 5 13:48 . [2022-07-05T13:48:49.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 13:47 .. [2022-07-05T13:48:49.247Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 5 13:47 .git [2022-07-05T13:48:49.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 5 13:47 .github [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 5 13:47 .gitignore [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 5 13:47 .golangci.yml [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 5 13:47 .hadolint.yml [2022-07-05T13:48:49.247Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 5 13:47 .semver [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 5 13:47 Attribution.txt [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 5 13:47 CHANGELOG.md [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jul 5 13:47 Dockerfile [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 5 13:47 GOVERNANCE.md [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 5 13:47 Jenkinsfile [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 5 13:47 LICENSE [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 5 13:47 Makefile [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 5 13:47 OWNERS.md [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jul 5 13:47 README.md [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 5 13:47 VERSION [2022-07-05T13:48:49.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 13:47 bin [2022-07-05T13:48:49.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 5 13:47 cmd [2022-07-05T13:48:49.247Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 5 13:48 coverage.out [2022-07-05T13:48:49.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 13:47 docker-compose [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 5 13:47 docker-entrypoint.sh [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 5 13:47 go.mod [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 5 13:47 go.sum [2022-07-05T13:48:49.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 5 13:47 internal [2022-07-05T13:48:49.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 13:47 snap [2022-07-05T13:48:49.247Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 5 13:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:48:49.567Z] + 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=65c503c98ad8e95d1116be54ee6b90f7c01c6689 --label arch=amd64 --label version=0.0.0 . [2022-07-05T13:48:49.567Z] Sending build context to Docker daemon 751.1kB [2022-07-05T13:48:49.567Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-07-05T13:48:49.567Z] Step 2/29 : FROM ${BASE} AS builder [2022-07-05T13:48:49.567Z] ---> 5da68066df06 [2022-07-05T13:48:49.567Z] Step 3/29 : ARG MAKE="make build" [2022-07-05T13:48:49.567Z] ---> Running in efe69299d886 [2022-07-05T13:48:49.828Z] Removing intermediate container efe69299d886 [2022-07-05T13:48:49.828Z] ---> 217933d79b8d [2022-07-05T13:48:49.828Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-05T13:48:49.828Z] ---> Running in c995a51ebebc [2022-07-05T13:48:49.828Z] Removing intermediate container c995a51ebebc [2022-07-05T13:48:49.828Z] ---> ad718640e5df [2022-07-05T13:48:49.828Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-05T13:48:50.090Z] ---> Running in f420a215d333 [2022-07-05T13:48:50.090Z] Removing intermediate container f420a215d333 [2022-07-05T13:48:50.090Z] ---> 9dc489ca46fd [2022-07-05T13:48:50.090Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-05T13:48:50.090Z] ---> Running in 4ffb17fe3915 [2022-07-05T13:48:50.664Z] Removing intermediate container 4ffb17fe3915 [2022-07-05T13:48:50.664Z] ---> 7dfa027a65a2 [2022-07-05T13:48:50.664Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-05T13:48:50.927Z] ---> Running in 972f8dff663b [2022-07-05T13:48:51.191Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-05T13:48:52.137Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-05T13:48:52.137Z] OK: 335 MiB in 133 packages [2022-07-05T13:48:52.706Z] Removing intermediate container 972f8dff663b [2022-07-05T13:48:52.707Z] ---> 28347ffd8485 [2022-07-05T13:48:52.707Z] Step 8/29 : WORKDIR /device-usb-camera [2022-07-05T13:48:52.707Z] ---> Running in b79d73efc3dc [2022-07-05T13:48:52.707Z] Removing intermediate container b79d73efc3dc [2022-07-05T13:48:52.707Z] ---> 5b1951d21e9f [2022-07-05T13:48:52.707Z] Step 9/29 : COPY go.mod vendor* ./ [2022-07-05T13:48:52.968Z] ---> 2de09a4e3b4d [2022-07-05T13:48:52.968Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-05T13:48:52.968Z] ---> Running in e326b193bf07 [2022-07-05T13:48:53.912Z] Removing intermediate container e326b193bf07 [2022-07-05T13:48:53.912Z] ---> 13e1ad3f287c [2022-07-05T13:48:53.912Z] Step 11/29 : COPY . . [2022-07-05T13:48:53.912Z] ---> 3e2f1edfb787 [2022-07-05T13:48:53.912Z] Step 12/29 : RUN ${MAKE} [2022-07-05T13:48:53.912Z] ---> Running in 7782476e6fa4 [2022-07-05T13:48:54.173Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-05T13:49:16.140Z] Removing intermediate container 7782476e6fa4 [2022-07-05T13:49:16.140Z] ---> 1dd6f25195a2 [2022-07-05T13:49:16.140Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-05T13:49:16.403Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-05T13:49:16.403Z] af6660deedbd: Pulling fs layer [2022-07-05T13:49:16.403Z] 97cd0a44c592: Pulling fs layer [2022-07-05T13:49:16.972Z] 97cd0a44c592: Download complete [2022-07-05T13:49:16.972Z] af6660deedbd: Verifying Checksum [2022-07-05T13:49:16.972Z] af6660deedbd: Download complete [2022-07-05T13:49:17.234Z] af6660deedbd: Pull complete [2022-07-05T13:49:17.234Z] 97cd0a44c592: Pull complete [2022-07-05T13:49:17.234Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-05T13:49:17.234Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-05T13:49:17.234Z] ---> fea57e182299 [2022-07-05T13:49:17.234Z] Step 14/29 : FROM alpine:3.15 [2022-07-05T13:49:17.807Z] 3.15: Pulling from library/alpine [2022-07-05T13:49:17.807Z] df9b9388f04a: Pulling fs layer [2022-07-05T13:49:18.066Z] df9b9388f04a: Verifying Checksum [2022-07-05T13:49:18.066Z] df9b9388f04a: Download complete [2022-07-05T13:49:18.328Z] df9b9388f04a: Pull complete [2022-07-05T13:49:18.328Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-05T13:49:18.328Z] Status: Downloaded newer image for alpine:3.15 [2022-07-05T13:49:18.328Z] ---> 0ac33e5f5afa [2022-07-05T13:49:18.328Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-05T13:49:18.588Z] ---> Running in f6704033fb9e [2022-07-05T13:49:18.588Z] Removing intermediate container f6704033fb9e [2022-07-05T13:49:18.588Z] ---> fd03d2c4870f [2022-07-05T13:49:18.588Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-05T13:49:18.588Z] ---> Running in cc9cb625a12f [2022-07-05T13:49:18.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-05T13:49:19.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-05T13:49:19.109Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-05T13:49:19.370Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-05T13:49:19.370Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-05T13:49:19.370Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-05T13:49:19.370Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-05T13:49:19.370Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-05T13:49:19.370Z] (7/74) Installing libxcb (1.14-r2) [2022-07-05T13:49:19.370Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-05T13:49:19.370Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-05T13:49:19.370Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-05T13:49:19.370Z] (11/74) Installing expat (2.4.7-r0) [2022-07-05T13:49:19.370Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-05T13:49:19.370Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-05T13:49:19.370Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-05T13:49:19.370Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-05T13:49:19.370Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-05T13:49:19.370Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-05T13:49:19.370Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-05T13:49:19.370Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-05T13:49:19.370Z] (20/74) Installing libintl (0.21-r0) [2022-07-05T13:49:19.370Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-05T13:49:19.630Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-05T13:49:19.630Z] (23/74) Installing pcre (8.45-r1) [2022-07-05T13:49:19.630Z] (24/74) Installing glib (2.70.1-r0) [2022-07-05T13:49:19.630Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-05T13:49:19.630Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-05T13:49:19.630Z] (27/74) Installing libass (0.15.2-r0) [2022-07-05T13:49:19.630Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-05T13:49:19.630Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-05T13:49:19.630Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-05T13:49:19.630Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-05T13:49:19.630Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-05T13:49:19.630Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-05T13:49:19.891Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-05T13:49:19.891Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-07-05T13:49:19.891Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-07-05T13:49:19.891Z] (37/74) Installing lame (3.100-r0) [2022-07-05T13:49:19.891Z] (38/74) Installing opus (1.3.1-r1) [2022-07-05T13:49:19.891Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-05T13:49:19.891Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-05T13:49:19.891Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-05T13:49:19.891Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-05T13:49:19.891Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-05T13:49:19.891Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-05T13:49:19.891Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-05T13:49:19.891Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-05T13:49:19.891Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-05T13:49:19.891Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-05T13:49:19.891Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-05T13:49:19.891Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-05T13:49:19.891Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-05T13:49:19.891Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-05T13:49:19.891Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-05T13:49:19.891Z] (54/74) Installing libva (2.13.0-r0) [2022-07-05T13:49:19.891Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-05T13:49:19.891Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-05T13:49:19.891Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-05T13:49:19.891Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-05T13:49:19.891Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-05T13:49:19.891Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-05T13:49:19.891Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-05T13:49:20.151Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-05T13:49:20.151Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-05T13:49:20.151Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-05T13:49:20.151Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-05T13:49:20.151Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-05T13:49:20.151Z] Executing udev-init-scripts-35-r0.post-install [2022-07-05T13:49:20.151Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-05T13:49:20.151Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-05T13:49:20.151Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-05T13:49:20.151Z] (70/74) Installing kmod-libs (29-r2) [2022-07-05T13:49:20.151Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-05T13:49:20.151Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-05T13:49:20.151Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-05T13:49:20.411Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-05T13:49:20.411Z] Executing busybox-1.34.1-r5.trigger [2022-07-05T13:49:20.411Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-05T13:49:20.411Z] OK: 78 MiB in 88 packages [2022-07-05T13:49:22.321Z] Removing intermediate container cc9cb625a12f [2022-07-05T13:49:22.321Z] ---> c249a25beb2d [2022-07-05T13:49:22.321Z] Step 17/29 : WORKDIR / [2022-07-05T13:49:22.321Z] ---> Running in 8f9fd440daf0 [2022-07-05T13:49:22.321Z] Removing intermediate container 8f9fd440daf0 [2022-07-05T13:49:22.321Z] ---> 127705872c9e [2022-07-05T13:49:22.321Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-07-05T13:49:22.891Z] ---> 59c97425b2a0 [2022-07-05T13:49:22.891Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-05T13:49:23.151Z] ---> a94f0b1db381 [2022-07-05T13:49:23.151Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-05T13:49:23.412Z] ---> f386286c9923 [2022-07-05T13:49:23.412Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-05T13:49:23.412Z] ---> cf57fab4e03a [2022-07-05T13:49:23.412Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-05T13:49:23.671Z] ---> b6d01fb306b2 [2022-07-05T13:49:23.671Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-07-05T13:49:24.241Z] ---> 390a23262245 [2022-07-05T13:49:24.241Z] Step 24/29 : EXPOSE 59983 [2022-07-05T13:49:24.241Z] ---> Running in 147e0908e539 [2022-07-05T13:49:24.502Z] Removing intermediate container 147e0908e539 [2022-07-05T13:49:24.502Z] ---> 62a473cb1413 [2022-07-05T13:49:24.502Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-05T13:49:24.502Z] ---> Running in bbf010b8524b [2022-07-05T13:49:24.502Z] Removing intermediate container bbf010b8524b [2022-07-05T13:49:24.502Z] ---> 9afde7125524 [2022-07-05T13:49:24.502Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-05T13:49:24.502Z] ---> Running in 1b90d35672ca [2022-07-05T13:49:24.767Z] Removing intermediate container 1b90d35672ca [2022-07-05T13:49:24.767Z] ---> cd5566e15ec5 [2022-07-05T13:49:24.767Z] Step 27/29 : LABEL arch=amd64 [2022-07-05T13:49:24.767Z] ---> Running in dacb89c7e132 [2022-07-05T13:49:24.767Z] Removing intermediate container dacb89c7e132 [2022-07-05T13:49:24.767Z] ---> 989e9672b9c0 [2022-07-05T13:49:24.767Z] Step 28/29 : LABEL git_sha=65c503c98ad8e95d1116be54ee6b90f7c01c6689 [2022-07-05T13:49:25.027Z] ---> Running in c53f2a0a4211 [2022-07-05T13:49:25.027Z] Removing intermediate container c53f2a0a4211 [2022-07-05T13:49:25.027Z] ---> d8c86025c834 [2022-07-05T13:49:25.027Z] Step 29/29 : LABEL version=0.0.0 [2022-07-05T13:49:25.027Z] ---> Running in e4dce2e8b8f4 [2022-07-05T13:49:25.286Z] Removing intermediate container e4dce2e8b8f4 [2022-07-05T13:49:25.286Z] ---> cd01d9a1f9b9 [2022-07-05T13:49:25.286Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-05T13:49:25.286Z] Successfully built cd01d9a1f9b9 [2022-07-05T13:49:25.286Z] 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 [2022-07-05T13:49:25.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-05T13:49:25.771Z] [2022-07-05T13:49:25.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:49:26.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-05T13:49:26.080Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-05T13:49:26.080Z] 5eb5b503b376: Pulling fs layer [2022-07-05T13:49:26.080Z] 5c69ac0246d0: Pulling fs layer [2022-07-05T13:49:26.080Z] ec43610c2a17: Pulling fs layer [2022-07-05T13:49:26.080Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-05T13:49:26.080Z] 33b1e0a273af: Pulling fs layer [2022-07-05T13:49:26.080Z] 5d3b04190fa2: Pulling fs layer [2022-07-05T13:49:26.080Z] 2f39f015ded8: Pulling fs layer [2022-07-05T13:49:26.080Z] 3a2ae6a8a46f: Waiting [2022-07-05T13:49:26.080Z] 5d3b04190fa2: Waiting [2022-07-05T13:49:26.080Z] 2f39f015ded8: Waiting [2022-07-05T13:49:26.080Z] 33b1e0a273af: Waiting [2022-07-05T13:49:26.080Z] 5c69ac0246d0: Verifying Checksum [2022-07-05T13:49:26.080Z] 5c69ac0246d0: Download complete [2022-07-05T13:49:26.080Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-05T13:49:26.080Z] 3a2ae6a8a46f: Download complete [2022-07-05T13:49:26.080Z] 33b1e0a273af: Verifying Checksum [2022-07-05T13:49:26.080Z] 33b1e0a273af: Download complete [2022-07-05T13:49:26.080Z] 5d3b04190fa2: Verifying Checksum [2022-07-05T13:49:26.080Z] 5d3b04190fa2: Download complete [2022-07-05T13:49:26.342Z] ec43610c2a17: Verifying Checksum [2022-07-05T13:49:26.342Z] ec43610c2a17: Download complete [2022-07-05T13:49:26.342Z] 5eb5b503b376: Verifying Checksum [2022-07-05T13:49:26.342Z] 5eb5b503b376: Download complete [2022-07-05T13:49:26.912Z] 2f39f015ded8: Verifying Checksum [2022-07-05T13:49:26.912Z] 2f39f015ded8: Download complete [2022-07-05T13:49:27.852Z] 5eb5b503b376: Pull complete [2022-07-05T13:49:27.852Z] 5c69ac0246d0: Pull complete [2022-07-05T13:49:28.420Z] ec43610c2a17: Pull complete [2022-07-05T13:49:28.420Z] 3a2ae6a8a46f: Pull complete [2022-07-05T13:49:28.679Z] 33b1e0a273af: Pull complete [2022-07-05T13:49:28.679Z] 5d3b04190fa2: Pull complete [2022-07-05T13:49:31.821Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16957 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-07-05T13:49:31.834Z] Running in /w/workspace/device-usb-camera/24 [Pipeline] { [Pipeline] checkout [2022-07-05T13:49:31.888Z] Selected Git installation does not exist. Using Default [2022-07-05T13:49:31.888Z] The recommended git tool is: NONE [2022-07-05T13:49:33.971Z] 2f39f015ded8: Pull complete [2022-07-05T13:49:33.971Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-05T13:49:33.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-05T13:49:33.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-05T13:49:34.069Z] prd-ubuntu20.04-docker-8c-8g-16956 does not seem to be running inside a container [2022-07-05T13:49:34.109Z] $ 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/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-05T13:49:36.430Z] $ docker top d3f2b20a18689eed347bdad68c8aa1c4abc64da62a8b2c8f44efb8eaefbb11c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:49:36.933Z] ---> job-cost.sh [2022-07-05T13:49:36.933Z] lf-activate-venv: SKIPPING [2022-07-05T13:49:36.933Z] INFO: No Stack... [2022-07-05T13:49:37.448Z] using credential edgex-jenkins-ssh [2022-07-05T13:49:37.468Z] Cloning the remote Git repository [2022-07-05T13:49:37.504Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-05T13:49:38.075Z] INFO: Archiving Costs [Pipeline] sh [2022-07-05T13:49:37.522Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-05T13:49:37.606Z] > git init /w/workspace/device-usb-camera/24 # timeout=10 [2022-07-05T13:49:37.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-05T13:49:37.704Z] > git --version # timeout=10 [2022-07-05T13:49:37.729Z] > git --version # 'git version 2.25.1' [2022-07-05T13:49:37.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-05T13:49:37.856Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-05T13:49:38.366Z] + + cut -d, -f6 [2022-07-05T13:49:38.366Z] cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [Pipeline] lock [2022-07-05T13:49:38.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-24-stack-cost] [2022-07-05T13:49:38.385Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-24-stack-cost] did not exist. Created. [2022-07-05T13:49:38.385Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-05T13:49:38.696Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-05T13:49:38.719Z] Stashed 1 file(s) [Pipeline] } [2022-07-05T13:49:38.728Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-05T13:49:38.753Z] $ docker stop --time=1 d3f2b20a18689eed347bdad68c8aa1c4abc64da62a8b2c8f44efb8eaefbb11c6 [2022-07-05T13:49:39.076Z] Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 [2022-07-05T13:49:39.323Z] Merge succeeded, producing b25fa555ae6d2f323cfe6411f14d93679506d489 [2022-07-05T13:49:39.324Z] Checking out Revision b25fa555ae6d2f323cfe6411f14d93679506d489 (PR-30) [2022-07-05T13:49:38.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-05T13:49:38.471Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-05T13:49:38.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-05T13:49:38.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-05T13:49:38.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-05T13:49:38.550Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-05T13:49:39.094Z] > git config core.sparsecheckout # timeout=10 [2022-07-05T13:49:39.111Z] > git checkout -f 4c4ab6af09efedeff12eed0a9f83e12c8148dad6 # timeout=10 [2022-07-05T13:49:39.201Z] > git remote # timeout=10 [2022-07-05T13:49:39.220Z] > git config --get remote.origin.url # timeout=10 [2022-07-05T13:49:39.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-05T13:49:39.245Z] > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 [2022-07-05T13:49:39.307Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-05T13:49:39.330Z] > git config core.sparsecheckout # timeout=10 [2022-07-05T13:49:39.347Z] > git checkout -f b25fa555ae6d2f323cfe6411f14d93679506d489 # timeout=10 [2022-07-05T13:49:39.976Z] $ docker rm -f d3f2b20a18689eed347bdad68c8aa1c4abc64da62a8b2c8f44efb8eaefbb11c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-05T13:49:43.594Z] Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" [2022-07-05T13:49:43.620Z] First time build. Skipping changelog. [2022-07-05T13:49:43.604Z] > git rev-list --no-walk c89d4d4447a68fea9f1e62be523674f62aa292a2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-05T13:49:44.541Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-05T13:49:44.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-05T13:49:44.541Z] Dload Upload Total Spent Left Speed [2022-07-05T13:49:44.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 89437 0 --:--:-- --:--:-- --:--:-- 90095 [Pipeline] sh [2022-07-05T13:49:45.308Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-05T13:49:45.657Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-05T13:49:45.657Z] + sudo tee /etc/docker/daemon.new [2022-07-05T13:49:45.657Z] { [2022-07-05T13:49:45.657Z] "registry-mirrors": [ [2022-07-05T13:49:45.657Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-05T13:49:45.657Z] ], [2022-07-05T13:49:45.657Z] "bip": "10.250.0.254/24", [2022-07-05T13:49:45.657Z] "hosts": [ [2022-07-05T13:49:45.657Z] "tcp://0.0.0.0:5555", [2022-07-05T13:49:45.657Z] "unix:///var/run/docker.sock" [2022-07-05T13:49:45.657Z] ], [2022-07-05T13:49:45.657Z] "mtu": 1458, [2022-07-05T13:49:45.657Z] "selinux-enabled": true, [2022-07-05T13:49:45.657Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-05T13:49:45.657Z] } [Pipeline] sh [2022-07-05T13:49:46.017Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-05T13:49:46.368Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-05T13:50:04.759Z] provisioning config files... [2022-07-05T13:50:04.787Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/24@tmp/config3448668004971051550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:50:05.388Z] ---> docker-login.sh [2022-07-05T13:50:05.388Z] nexus3.edgexfoundry.org:10001 [2022-07-05T13:50:05.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:50:06.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:50:06.274Z] Configure a credential helper to remove this warning. See [2022-07-05T13:50:06.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:50:06.274Z] [2022-07-05T13:50:06.274Z] Login Succeeded [2022-07-05T13:50:06.274Z] nexus3.edgexfoundry.org:10002 [2022-07-05T13:50:06.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:50:06.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:50:06.829Z] Configure a credential helper to remove this warning. See [2022-07-05T13:50:06.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:50:06.829Z] [2022-07-05T13:50:06.829Z] Login Succeeded [2022-07-05T13:50:06.829Z] nexus3.edgexfoundry.org:10003 [2022-07-05T13:50:07.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:50:07.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:50:07.384Z] Configure a credential helper to remove this warning. See [2022-07-05T13:50:07.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:50:07.384Z] [2022-07-05T13:50:07.384Z] Login Succeeded [2022-07-05T13:50:07.384Z] nexus3.edgexfoundry.org:10004 [2022-07-05T13:50:07.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:50:07.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:50:07.672Z] Configure a credential helper to remove this warning. See [2022-07-05T13:50:07.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:50:07.672Z] [2022-07-05T13:50:07.672Z] Login Succeeded [2022-07-05T13:50:07.672Z] docker.io [2022-07-05T13:50:08.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-05T13:50:08.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-05T13:50:08.554Z] Configure a credential helper to remove this warning. See [2022-07-05T13:50:08.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-05T13:50:08.554Z] [2022-07-05T13:50:08.554Z] Login Succeeded [2022-07-05T13:50:08.554Z] ---> docker-login.sh ends [Pipeline] } [2022-07-05T13:50:08.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-05T13:50:08.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-05T13:50:08.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-05T13:50:08.901Z] ========================================================= [2022-07-05T13:50:08.901Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-05T13:50:08.901Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:50:09.277Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-05T13:50:09.552Z] Sending build context to Docker daemon 530.9kB [2022-07-05T13:50:09.552Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-05T13:50:09.552Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-05T13:50:09.833Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-05T13:50:09.833Z] 9b3977197b4f: Pulling fs layer [2022-07-05T13:50:09.833Z] 1a89e8eeedd5: Pulling fs layer [2022-07-05T13:50:09.833Z] 94645a83ff95: Pulling fs layer [2022-07-05T13:50:09.833Z] e6fb740bc735: Pulling fs layer [2022-07-05T13:50:09.833Z] 3a77bd46dcc9: Pulling fs layer [2022-07-05T13:50:09.833Z] e6fb740bc735: Waiting [2022-07-05T13:50:09.833Z] 355e64cbe906: Pulling fs layer [2022-07-05T13:50:09.833Z] 3a77bd46dcc9: Waiting [2022-07-05T13:50:09.833Z] 63ab81a10011: Pulling fs layer [2022-07-05T13:50:09.833Z] 355e64cbe906: Waiting [2022-07-05T13:50:09.833Z] 63ab81a10011: Waiting [2022-07-05T13:50:09.833Z] 555d1d1c4555: Pulling fs layer [2022-07-05T13:50:09.833Z] 7d9057610161: Pulling fs layer [2022-07-05T13:50:09.833Z] 94645a83ff95: Verifying Checksum [2022-07-05T13:50:09.833Z] 94645a83ff95: Download complete [2022-07-05T13:50:09.833Z] 1a89e8eeedd5: Verifying Checksum [2022-07-05T13:50:09.833Z] 1a89e8eeedd5: Download complete [2022-07-05T13:50:09.833Z] 3a77bd46dcc9: Download complete [2022-07-05T13:50:09.833Z] 355e64cbe906: Verifying Checksum [2022-07-05T13:50:09.833Z] 355e64cbe906: Download complete [2022-07-05T13:50:09.833Z] 9b3977197b4f: Verifying Checksum [2022-07-05T13:50:09.833Z] 9b3977197b4f: Download complete [2022-07-05T13:50:09.833Z] 63ab81a10011: Verifying Checksum [2022-07-05T13:50:09.833Z] 63ab81a10011: Download complete [2022-07-05T13:50:10.834Z] 7d9057610161: Verifying Checksum [2022-07-05T13:50:10.834Z] 7d9057610161: Download complete [2022-07-05T13:50:10.834Z] 9b3977197b4f: Pull complete [2022-07-05T13:50:11.445Z] 1a89e8eeedd5: Pull complete [2022-07-05T13:50:11.724Z] 94645a83ff95: Pull complete [2022-07-05T13:50:12.001Z] 555d1d1c4555: Verifying Checksum [2022-07-05T13:50:12.001Z] 555d1d1c4555: Download complete [2022-07-05T13:50:12.608Z] e6fb740bc735: Verifying Checksum [2022-07-05T13:50:12.608Z] e6fb740bc735: Download complete [2022-07-05T13:50:25.046Z] e6fb740bc735: Pull complete [2022-07-05T13:50:25.046Z] 3a77bd46dcc9: Pull complete [2022-07-05T13:50:25.323Z] 355e64cbe906: Pull complete [2022-07-05T13:50:25.598Z] 63ab81a10011: Pull complete [2022-07-05T13:50:32.355Z] 555d1d1c4555: Pull complete [2022-07-05T13:50:33.800Z] 7d9057610161: Pull complete [2022-07-05T13:50:33.800Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-05T13:50:33.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-05T13:50:33.800Z] ---> 819e984ddca1 [2022-07-05T13:50:33.800Z] Step 3/12 : ARG MAKE="make build" [2022-07-05T13:50:34.812Z] ---> Running in 9602044cdb8e [2022-07-05T13:50:35.417Z] Removing intermediate container 9602044cdb8e [2022-07-05T13:50:35.417Z] ---> c3999eae2b1e [2022-07-05T13:50:35.417Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-05T13:50:35.417Z] ---> Running in f600873a8d20 [2022-07-05T13:50:35.694Z] Removing intermediate container f600873a8d20 [2022-07-05T13:50:35.694Z] ---> eb14b3365a04 [2022-07-05T13:50:35.694Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-05T13:50:35.694Z] ---> Running in e4ef3d42f2a1 [2022-07-05T13:50:35.972Z] Removing intermediate container e4ef3d42f2a1 [2022-07-05T13:50:35.972Z] ---> 77a8fde57d65 [2022-07-05T13:50:35.972Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-05T13:50:36.248Z] ---> Running in cff17af65108 [2022-07-05T13:50:38.242Z] Removing intermediate container cff17af65108 [2022-07-05T13:50:38.242Z] ---> f2e06f62a8be [2022-07-05T13:50:38.242Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-05T13:50:38.242Z] ---> Running in 799c5c79f574 [2022-07-05T13:50:38.841Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-05T13:50:39.826Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-05T13:50:40.811Z] (1/14) Installing libintl (0.21-r0) [2022-07-05T13:50:40.811Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-05T13:50:40.811Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-07-05T13:50:40.811Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-05T13:50:41.088Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-05T13:50:41.088Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-05T13:50:41.088Z] Executing udev-init-scripts-35-r0.post-install [2022-07-05T13:50:41.363Z] (7/14) Installing libblkid (2.37.4-r0) [2022-07-05T13:50:41.363Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-05T13:50:41.363Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-07-05T13:50:41.640Z] (10/14) Installing kmod-libs (29-r2) [2022-07-05T13:50:41.640Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-07-05T13:50:41.640Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-07-05T13:50:41.915Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-05T13:50:41.915Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-05T13:50:42.191Z] Executing busybox-1.34.1-r3.trigger [2022-07-05T13:50:42.191Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-05T13:50:42.191Z] OK: 228 MiB in 66 packages [2022-07-05T13:50:43.190Z] Removing intermediate container 799c5c79f574 [2022-07-05T13:50:43.190Z] ---> b786959a78f2 [2022-07-05T13:50:43.190Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-05T13:50:43.470Z] ---> Running in 3448ebea44fa [2022-07-05T13:50:43.751Z] Removing intermediate container 3448ebea44fa [2022-07-05T13:50:43.751Z] ---> b06696d97dfb [2022-07-05T13:50:43.751Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-05T13:50:44.355Z] ---> 1d11483d2619 [2022-07-05T13:50:44.355Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-05T13:50:44.355Z] ---> Running in 3516a737d4d9 [2022-07-05T13:51:31.415Z] Removing intermediate container 3516a737d4d9 [2022-07-05T13:51:31.415Z] ---> d2dcf0166cb0 [2022-07-05T13:51:31.415Z] Step 11/12 : COPY . . [2022-07-05T13:51:31.415Z] ---> c03c62ec5f4c [2022-07-05T13:51:31.415Z] Step 12/12 : RUN ${MAKE} [2022-07-05T13:51:31.415Z] ---> Running in 279a371b0b63 [2022-07-05T13:51:31.415Z] noop [2022-07-05T13:51:31.415Z] Removing intermediate container 279a371b0b63 [2022-07-05T13:51:31.415Z] ---> 1c9f17c20cd2 [2022-07-05T13:51:31.415Z] Successfully built 1c9f17c20cd2 [2022-07-05T13:51:31.415Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:51:31.791Z] + docker inspect -f . ci-base-image-arm64 [2022-07-05T13:51:31.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-05T13:51:32.067Z] prd-ubuntu20.04-docker-arm64-4c-16g-16957 does not seem to be running inside a container [2022-07-05T13:51:32.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/24 -v /w/workspace/device-usb-camera/24:/w/workspace/device-usb-camera/24:rw,z -v /w/workspace/device-usb-camera/24@tmp:/w/workspace/device-usb-camera/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-05T13:51:33.504Z] $ docker top 2e223d1e91b384ae67b67ec72dfa8409d6eb999569c4dace82e1a44ce93b3b0b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-05T13:51:34.404Z] + go version [2022-07-05T13:51:34.404Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-05T13:51:34.436Z] $ docker stop --time=1 2e223d1e91b384ae67b67ec72dfa8409d6eb999569c4dace82e1a44ce93b3b0b [2022-07-05T13:51:36.085Z] $ docker rm -f 2e223d1e91b384ae67b67ec72dfa8409d6eb999569c4dace82e1a44ce93b3b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:51:36.731Z] + docker inspect -f . ci-base-image-arm64 [2022-07-05T13:51:36.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-05T13:51:36.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-16957 does not seem to be running inside a container [2022-07-05T13:51:37.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/24 -v /w/workspace/device-usb-camera/24:/w/workspace/device-usb-camera/24:rw,z -v /w/workspace/device-usb-camera/24@tmp:/w/workspace/device-usb-camera/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-05T13:51:38.412Z] $ docker top b58893c6eb4181173f3a402f05e8f18bda781b185cd686ab9aabd033dcdf66dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-05T13:51:39.328Z] + make test [2022-07-05T13:51:39.328Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-05T13:51:41.330Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-05T13:53:03.207Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-05T13:53:03.207Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-05T13:53:03.207Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-05T13:53:03.207Z] CGO_ENABLED=1 go vet ./... [2022-07-05T13:53:25.420Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-05T13:53:25.420Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-05T13:53:25.420Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-05T13:53:28.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-05T13:53:28.863Z] $ docker stop --time=1 b58893c6eb4181173f3a402f05e8f18bda781b185cd686ab9aabd033dcdf66dc [2022-07-05T13:53:30.689Z] $ docker rm -f b58893c6eb4181173f3a402f05e8f18bda781b185cd686ab9aabd033dcdf66dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-05T13:53:31.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-05T13:53:31.640Z] Warning: overwriting stash ‘coverage-report’ [2022-07-05T13:53:32.095Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-05T13:53:32.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-05T13:53:32.936Z] + ls -al . [2022-07-05T13:53:32.936Z] total 164 [2022-07-05T13:53:32.936Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 5 13:53 . [2022-07-05T13:53:32.936Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 13:49 .. [2022-07-05T13:53:32.936Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 5 13:49 .git [2022-07-05T13:53:32.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 5 13:49 .github [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 5 13:49 .gitignore [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 5 13:49 .golangci.yml [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 5 13:49 .hadolint.yml [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 5 13:49 Attribution.txt [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 5 13:49 CHANGELOG.md [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jul 5 13:49 Dockerfile [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 5 13:49 GOVERNANCE.md [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 5 13:49 Jenkinsfile [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 5 13:49 LICENSE [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 5 13:49 Makefile [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 5 13:49 OWNERS.md [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jul 5 13:49 README.md [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 5 13:47 VERSION [2022-07-05T13:53:32.936Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 13:49 bin [2022-07-05T13:53:32.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 5 13:49 cmd [2022-07-05T13:53:32.936Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 5 13:51 coverage.out [2022-07-05T13:53:32.936Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 13:49 docker-compose [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 5 13:49 docker-entrypoint.sh [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 5 13:49 go.mod [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 5 13:49 go.sum [2022-07-05T13:53:32.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 5 13:49 internal [2022-07-05T13:53:32.936Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 13:49 snap [2022-07-05T13:53:32.936Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 5 13:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:53:33.313Z] + 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=b25fa555ae6d2f323cfe6411f14d93679506d489 --label arch=arm64 --label version=0.0.0 . [2022-07-05T13:53:33.595Z] Sending build context to Docker daemon 532kB [2022-07-05T13:53:33.595Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-07-05T13:53:33.595Z] Step 2/29 : FROM ${BASE} AS builder [2022-07-05T13:53:33.595Z] ---> 1c9f17c20cd2 [2022-07-05T13:53:33.595Z] Step 3/29 : ARG MAKE="make build" [2022-07-05T13:53:33.871Z] ---> Running in 7f1e80ef89d3 [2022-07-05T13:53:34.196Z] Removing intermediate container 7f1e80ef89d3 [2022-07-05T13:53:34.196Z] ---> c400307d4dd3 [2022-07-05T13:53:34.196Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-05T13:53:34.502Z] ---> Running in 115bcc5f7975 [2022-07-05T13:53:34.783Z] Removing intermediate container 115bcc5f7975 [2022-07-05T13:53:34.783Z] ---> 4e88f4fadbcb [2022-07-05T13:53:34.783Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-05T13:53:34.783Z] ---> Running in af3f0f9ec9cb [2022-07-05T13:53:35.057Z] Removing intermediate container af3f0f9ec9cb [2022-07-05T13:53:35.057Z] ---> f480589f9d88 [2022-07-05T13:53:35.057Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-05T13:53:35.057Z] ---> Running in 8d3958bf35e6 [2022-07-05T13:53:37.038Z] Removing intermediate container 8d3958bf35e6 [2022-07-05T13:53:37.038Z] ---> ca001aa48bc6 [2022-07-05T13:53:37.038Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-05T13:53:37.038Z] ---> Running in b27960991d52 [2022-07-05T13:53:37.635Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-05T13:53:38.613Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-05T13:53:39.591Z] OK: 228 MiB in 66 packages [2022-07-05T13:53:40.186Z] Removing intermediate container b27960991d52 [2022-07-05T13:53:40.186Z] ---> 5181b26d92ba [2022-07-05T13:53:40.186Z] Step 8/29 : WORKDIR /device-usb-camera [2022-07-05T13:53:40.186Z] ---> Running in 6f8a0a102c12 [2022-07-05T13:53:40.778Z] Removing intermediate container 6f8a0a102c12 [2022-07-05T13:53:40.778Z] ---> d2cfa92f1d23 [2022-07-05T13:53:40.778Z] Step 9/29 : COPY go.mod vendor* ./ [2022-07-05T13:53:41.061Z] ---> 33d1c8b86629 [2022-07-05T13:53:41.061Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-05T13:53:41.061Z] ---> Running in 26f57e3af566 [2022-07-05T13:53:43.043Z] Removing intermediate container 26f57e3af566 [2022-07-05T13:53:43.043Z] ---> 2fd8ced849f2 [2022-07-05T13:53:43.043Z] Step 11/29 : COPY . . [2022-07-05T13:53:44.019Z] ---> 163a74f8fbb3 [2022-07-05T13:53:44.019Z] Step 12/29 : RUN ${MAKE} [2022-07-05T13:53:44.019Z] ---> Running in 880a9f3cd7cd [2022-07-05T13:53:45.004Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-05T13:55:51.876Z] Removing intermediate container 880a9f3cd7cd [2022-07-05T13:55:51.876Z] ---> 42d6294e0d5a [2022-07-05T13:55:51.876Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-05T13:55:51.876Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-05T13:55:51.876Z] eab2503cf8f4: Pulling fs layer [2022-07-05T13:55:51.876Z] 97cd0a44c592: Pulling fs layer [2022-07-05T13:55:51.876Z] 97cd0a44c592: Download complete [2022-07-05T13:55:51.876Z] eab2503cf8f4: Verifying Checksum [2022-07-05T13:55:51.876Z] eab2503cf8f4: Download complete [2022-07-05T13:55:51.876Z] eab2503cf8f4: Pull complete [2022-07-05T13:55:51.876Z] 97cd0a44c592: Pull complete [2022-07-05T13:55:51.876Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-05T13:55:51.876Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-05T13:55:51.876Z] ---> 7f763cca56b3 [2022-07-05T13:55:51.876Z] Step 14/29 : FROM alpine:3.15 [2022-07-05T13:55:51.876Z] 3.15: Pulling from library/alpine [2022-07-05T13:55:51.876Z] 9981e73032c8: Pulling fs layer [2022-07-05T13:55:51.876Z] 9981e73032c8: Download complete [2022-07-05T13:55:51.876Z] 9981e73032c8: Pull complete [2022-07-05T13:55:51.876Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-05T13:55:51.876Z] Status: Downloaded newer image for alpine:3.15 [2022-07-05T13:55:51.876Z] ---> 3fb3c9af89a9 [2022-07-05T13:55:51.876Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-05T13:55:51.876Z] ---> Running in 60c2a41cbc89 [2022-07-05T13:55:51.876Z] Removing intermediate container 60c2a41cbc89 [2022-07-05T13:55:51.876Z] ---> 3eb0ed4024ef [2022-07-05T13:55:51.876Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-05T13:55:51.876Z] ---> Running in c1758ec6fbf6 [2022-07-05T13:55:51.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-05T13:55:51.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-05T13:55:51.876Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-05T13:55:51.876Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-05T13:55:51.876Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-05T13:55:51.876Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-05T13:55:51.876Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-05T13:55:51.876Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-05T13:55:51.876Z] (7/73) Installing libxcb (1.14-r2) [2022-07-05T13:55:51.876Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-05T13:55:51.876Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-05T13:55:51.876Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-05T13:55:51.876Z] (11/73) Installing expat (2.4.7-r0) [2022-07-05T13:55:51.876Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-05T13:55:51.876Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-05T13:55:51.876Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-05T13:55:51.876Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-05T13:55:51.876Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-05T13:55:51.876Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-05T13:55:51.876Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-05T13:55:51.876Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-05T13:55:51.876Z] (20/73) Installing libintl (0.21-r0) [2022-07-05T13:55:51.876Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-05T13:55:51.876Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-05T13:55:51.876Z] (23/73) Installing pcre (8.45-r1) [2022-07-05T13:55:51.876Z] (24/73) Installing glib (2.70.1-r0) [2022-07-05T13:55:51.876Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-05T13:55:51.876Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-05T13:55:51.876Z] (27/73) Installing libass (0.15.2-r0) [2022-07-05T13:55:51.876Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-05T13:55:51.876Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-05T13:55:51.876Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-05T13:55:51.876Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-05T13:55:51.876Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-05T13:55:51.876Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-05T13:55:51.876Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-05T13:55:51.876Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-07-05T13:55:51.876Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-07-05T13:55:51.876Z] (37/73) Installing lame (3.100-r0) [2022-07-05T13:55:51.876Z] (38/73) Installing opus (1.3.1-r1) [2022-07-05T13:55:51.876Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-05T13:55:51.876Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-05T13:55:51.876Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-05T13:55:51.876Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-05T13:55:51.876Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-05T13:55:51.876Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-05T13:55:51.876Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-05T13:55:51.876Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-05T13:55:51.876Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-05T13:55:51.876Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-05T13:55:51.876Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-05T13:55:51.876Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-05T13:55:51.876Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-05T13:55:51.876Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-05T13:55:51.876Z] (53/73) Installing libva (2.13.0-r0) [2022-07-05T13:55:51.876Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-05T13:55:51.876Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-05T13:55:51.876Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-05T13:55:51.876Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-05T13:55:51.876Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-05T13:55:51.876Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-05T13:55:51.876Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-05T13:55:51.876Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-05T13:55:51.876Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-05T13:55:51.876Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-05T13:55:51.876Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-05T13:55:51.876Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-05T13:55:51.876Z] Executing udev-init-scripts-35-r0.post-install [2022-07-05T13:55:51.876Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-05T13:55:51.876Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-05T13:55:51.876Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-05T13:55:51.876Z] (69/73) Installing kmod-libs (29-r2) [2022-07-05T13:55:51.876Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-05T13:55:51.876Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-05T13:55:51.876Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-05T13:55:51.876Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-05T13:55:51.876Z] Executing busybox-1.34.1-r5.trigger [2022-07-05T13:55:51.876Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-05T13:55:51.876Z] OK: 67 MiB in 87 packages [2022-07-05T13:55:54.511Z] Removing intermediate container c1758ec6fbf6 [2022-07-05T13:55:54.511Z] ---> 6dc32dd07245 [2022-07-05T13:55:54.511Z] Step 17/29 : WORKDIR / [2022-07-05T13:55:54.511Z] ---> Running in 99bb6facbb5b [2022-07-05T13:55:54.788Z] Removing intermediate container 99bb6facbb5b [2022-07-05T13:55:54.789Z] ---> 468531d27d4b [2022-07-05T13:55:54.789Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-07-05T13:55:56.783Z] ---> b0a486692fbd [2022-07-05T13:55:56.783Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-05T13:55:57.056Z] ---> 075310dd3ee3 [2022-07-05T13:55:57.056Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-05T13:55:57.651Z] ---> cbe9a72da4a2 [2022-07-05T13:55:57.651Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-05T13:55:58.254Z] ---> 0682b6034766 [2022-07-05T13:55:58.254Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-05T13:55:58.529Z] ---> 6682ac832c58 [2022-07-05T13:55:58.529Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-07-05T13:55:59.974Z] ---> 583750f20566 [2022-07-05T13:55:59.974Z] Step 24/29 : EXPOSE 59983 [2022-07-05T13:55:59.974Z] ---> Running in d2612d8480c5 [2022-07-05T13:56:00.254Z] Removing intermediate container d2612d8480c5 [2022-07-05T13:56:00.254Z] ---> e8708e071084 [2022-07-05T13:56:00.254Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-05T13:56:00.254Z] ---> Running in 475c5fb42e38 [2022-07-05T13:56:00.530Z] Removing intermediate container 475c5fb42e38 [2022-07-05T13:56:00.530Z] ---> 158b83504064 [2022-07-05T13:56:00.530Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-05T13:56:00.804Z] ---> Running in 5cbb22e4e237 [2022-07-05T13:56:01.088Z] Removing intermediate container 5cbb22e4e237 [2022-07-05T13:56:01.088Z] ---> 45b43e4bd05a [2022-07-05T13:56:01.088Z] Step 27/29 : LABEL arch=arm64 [2022-07-05T13:56:01.088Z] ---> Running in ca02ab465cf4 [2022-07-05T13:56:01.362Z] Removing intermediate container ca02ab465cf4 [2022-07-05T13:56:01.362Z] ---> a5f6c2fb3fdd [2022-07-05T13:56:01.362Z] Step 28/29 : LABEL git_sha=b25fa555ae6d2f323cfe6411f14d93679506d489 [2022-07-05T13:56:01.362Z] ---> Running in 18d176435d9f [2022-07-05T13:56:01.637Z] Removing intermediate container 18d176435d9f [2022-07-05T13:56:01.637Z] ---> 10647d069573 [2022-07-05T13:56:01.637Z] Step 29/29 : LABEL version=0.0.0 [2022-07-05T13:56:01.915Z] ---> Running in dcd9ad6d5409 [2022-07-05T13:56:02.188Z] Removing intermediate container dcd9ad6d5409 [2022-07-05T13:56:02.188Z] ---> 0aac775c5a7e [2022-07-05T13:56:02.188Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-05T13:56:02.188Z] Successfully built 0aac775c5a7e [2022-07-05T13:56:02.188Z] 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 [2022-07-05T13:56:02.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-05T13:56:02.618Z] [2022-07-05T13:56:02.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:56:03.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-05T13:56:03.445Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-05T13:56:03.445Z] 8998bd30e6a1: Pulling fs layer [2022-07-05T13:56:03.445Z] 04944245beec: Pulling fs layer [2022-07-05T13:56:03.445Z] 699f458cf7ca: Pulling fs layer [2022-07-05T13:56:03.445Z] 765212b225bb: Pulling fs layer [2022-07-05T13:56:03.445Z] f23df028b6ca: Pulling fs layer [2022-07-05T13:56:03.445Z] d65c8cfc05b1: Pulling fs layer [2022-07-05T13:56:03.445Z] 2437ff75d9bd: Pulling fs layer [2022-07-05T13:56:03.445Z] 765212b225bb: Waiting [2022-07-05T13:56:03.445Z] d65c8cfc05b1: Waiting [2022-07-05T13:56:03.445Z] 2437ff75d9bd: Waiting [2022-07-05T13:56:03.445Z] f23df028b6ca: Waiting [2022-07-05T13:56:03.445Z] 04944245beec: Verifying Checksum [2022-07-05T13:56:03.445Z] 04944245beec: Download complete [2022-07-05T13:56:03.445Z] 765212b225bb: Verifying Checksum [2022-07-05T13:56:03.445Z] 765212b225bb: Download complete [2022-07-05T13:56:03.445Z] f23df028b6ca: Verifying Checksum [2022-07-05T13:56:03.445Z] f23df028b6ca: Download complete [2022-07-05T13:56:03.445Z] d65c8cfc05b1: Download complete [2022-07-05T13:56:03.719Z] 699f458cf7ca: Verifying Checksum [2022-07-05T13:56:03.720Z] 699f458cf7ca: Download complete [2022-07-05T13:56:03.996Z] 8998bd30e6a1: Verifying Checksum [2022-07-05T13:56:03.996Z] 8998bd30e6a1: Download complete [2022-07-05T13:56:06.618Z] 2437ff75d9bd: Verifying Checksum [2022-07-05T13:56:06.618Z] 2437ff75d9bd: Download complete [2022-07-05T13:56:08.598Z] 8998bd30e6a1: Pull complete [2022-07-05T13:56:08.872Z] 04944245beec: Pull complete [2022-07-05T13:56:10.309Z] 699f458cf7ca: Pull complete [2022-07-05T13:56:10.583Z] 765212b225bb: Pull complete [2022-07-05T13:56:11.566Z] f23df028b6ca: Pull complete [2022-07-05T13:56:11.566Z] d65c8cfc05b1: Pull complete [2022-07-05T13:56:26.661Z] 2437ff75d9bd: Pull complete [2022-07-05T13:56:26.661Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-05T13:56:26.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-05T13:56:26.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-05T13:56:26.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-16957 does not seem to be running inside a container [2022-07-05T13:56:27.019Z] $ 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/24 -v /w/workspace/device-usb-camera/24:/w/workspace/device-usb-camera/24:rw,z -v /w/workspace/device-usb-camera/24@tmp:/w/workspace/device-usb-camera/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-05T13:56:29.667Z] $ docker top cb0907e928ce584413a34a82e2c13048ef7bc521d78ffcb3dc2c307f33c3f42b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:56:30.590Z] ---> job-cost.sh [2022-07-05T13:56:30.590Z] lf-activate-venv: SKIPPING [2022-07-05T13:56:30.590Z] INFO: No Stack... [2022-07-05T13:56:31.185Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-05T13:56:31.823Z] INFO: Archiving Costs [Pipeline] sh [2022-07-05T13:56:32.523Z] + cat /w/workspace/device-usb-camera/24/archives/cost.csv [2022-07-05T13:56:32.524Z] + cut -d, -f6 [Pipeline] lock [2022-07-05T13:56:32.598Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-24-stack-cost] [2022-07-05T13:56:32.604Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-24-stack-cost] did not exist. Created. [2022-07-05T13:56:32.604Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-05T13:56:33.303Z] /w/workspace/device-usb-camera/24@tmp/durable-f4f29468/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-05T13:56:34.014Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-05T13:56:34.041Z] Warning: overwriting stash ‘stack-cost’ [2022-07-05T13:56:34.090Z] Stashed 1 file(s) [Pipeline] } [2022-07-05T13:56:34.099Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-05T13:56:34.130Z] $ docker stop --time=1 cb0907e928ce584413a34a82e2c13048ef7bc521d78ffcb3dc2c307f33c3f42b [2022-07-05T13:56:35.612Z] $ docker rm -f cb0907e928ce584413a34a82e2c13048ef7bc521d78ffcb3dc2c307f33c3f42b [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 [2022-07-05T13:56:36.021Z] provisioning config files... [2022-07-05T13:56:36.030Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1632032410812016709tmp [Pipeline] { [Pipeline] sh [2022-07-05T13:56:36.323Z] + set +x [2022-07-05T13:56:36.323Z] + bash -s -- [2022-07-05T13:56:36.323Z] + curl -s https://codecov.io/bash [2022-07-05T13:56:36.323Z] [2022-07-05T13:56:36.323Z] _____ _ [2022-07-05T13:56:36.323Z] / ____| | | [2022-07-05T13:56:36.323Z] | | ___ __| | ___ ___ _____ __ [2022-07-05T13:56:36.323Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-05T13:56:36.323Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-05T13:56:36.323Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-05T13:56:36.323Z] Bash-1.0.6 [2022-07-05T13:56:36.323Z] [2022-07-05T13:56:36.323Z] [2022-07-05T13:56:36.323Z] ==> git version 2.25.1 found [2022-07-05T13:56:36.323Z] ==> 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 [2022-07-05T13:56:36.323Z] Release-Date: 2020-01-08 [2022-07-05T13:56:36.323Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-05T13:56:36.323Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-05T13:56:36.323Z] ==> Jenkins CI detected. [2022-07-05T13:56:36.323Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-07-05T13:56:36.323Z] project root: . [2022-07-05T13:56:36.323Z] --> token set from env [2022-07-05T13:56:36.323Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-05T13:56:36.323Z] ==> Running gcov in . (disable via -X gcov) [2022-07-05T13:56:36.323Z] ==> Python coveragepy not found [2022-07-05T13:56:36.323Z] ==> Searching for coverage reports in: [2022-07-05T13:56:36.323Z] + . [2022-07-05T13:56:36.323Z] -> Found 1 reports [2022-07-05T13:56:36.323Z] ==> Detecting git/mercurial file structure [2022-07-05T13:56:36.323Z] ==> Reading reports [2022-07-05T13:56:36.323Z] + ./coverage.out bytes=10 [2022-07-05T13:56:36.589Z] ==> Appending adjustments [2022-07-05T13:56:36.589Z] https://docs.codecov.io/docs/fixing-reports [2022-07-05T13:56:36.589Z] + Found adjustments [2022-07-05T13:56:36.589Z] ==> Gzipping contents [2022-07-05T13:56:36.589Z] 4.0K /tmp/codecov.XOymxw.gz [2022-07-05T13:56:36.589Z] ==> Uploading reports [2022-07-05T13:56:36.589Z] url: https://codecov.io [2022-07-05T13:56:36.589Z] query: branch=PR-30&commit=65c503c98ad8e95d1116be54ee6b90f7c01c6689&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-07-05T13:56:36.589Z] -> Pinging Codecov [2022-07-05T13:56:36.589Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=65c503c98ad8e95d1116be54ee6b90f7c01c6689&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-07-05T13:56:36.852Z] -> Uploading to [2022-07-05T13:56:36.852Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-05/73D8F5FF140700D3E01443B452E23636/65c503c98ad8e95d1116be54ee6b90f7c01c6689/78b768f5-c80b-4bf6-9c62-ec870333a010.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220705%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220705T135636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4afa599ec0e74d270082cdb95b4cf6015b7fa6b4dccf665c7304d9fa1288e98 [2022-07-05T13:56:36.852Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-05T13:56:36.852Z] Dload Upload Total Spent Left Speed [2022-07-05T13:56:37.114Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1215 0 0 100 1215 0 5758 --:--:-- --:--:-- --:--:-- 5758 [2022-07-05T13:56:37.114Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/65c503c98ad8e95d1116be54ee6b90f7c01c6689 [Pipeline] } [2022-07-05T13:56:37.122Z] 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 [2022-07-05T13:56:37.811Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-07-05T13:56:37.811Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-05T13:56:37.811Z] total 16 [2022-07-05T13:56:37.811Z] drwxr-xr-x 3 root root 4096 Jul 5 13:49 . [2022-07-05T13:56:37.811Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 5 13:49 .. [2022-07-05T13:56:37.811Z] drwxr-xr-x 2 root root 4096 Jul 5 13:49 cost [2022-07-05T13:56:37.811Z] -rw-r--r-- 1 root root 88 Jul 5 13:49 cost.csv [2022-07-05T13:56:37.811Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-05T13:56:37.811Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-07-05T13:56:37.811Z] total 16 [2022-07-05T13:56:37.811Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 5 13:49 . [2022-07-05T13:56:37.811Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 5 13:49 .. [2022-07-05T13:56:37.811Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 5 13:49 cost [2022-07-05T13:56:37.811Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 5 13:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:56:38.108Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:56:38.969Z] ---> package-listing.sh [2022-07-05T13:56:38.969Z] ++ facter osfamily [2022-07-05T13:56:38.969Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-05T13:56:39.228Z] + OS_FAMILY=debian [2022-07-05T13:56:39.229Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-07-05T13:56:39.229Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-05T13:56:39.229Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-05T13:56:39.229Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-05T13:56:39.229Z] + PACKAGES=/tmp/packages_start.txt [2022-07-05T13:56:39.229Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-07-05T13:56:39.229Z] + PACKAGES=/tmp/packages_end.txt [2022-07-05T13:56:39.229Z] + case "${OS_FAMILY}" in [2022-07-05T13:56:39.229Z] + dpkg -l [2022-07-05T13:56:39.229Z] + grep '^ii' [2022-07-05T13:56:39.229Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-05T13:56:39.229Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-05T13:56:39.229Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-05T13:56:39.229Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-07-05T13:56:39.229Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-07-05T13:56:39.229Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo [2022-07-05T13:56:39.242Z] 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/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-05T13:56:39.523Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-05T13:56:40.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-05T13:56:40.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-05T13:56:40.203Z] prd-ubuntu20.04-docker-8c-8g-16956 does not seem to be running inside a container [2022-07-05T13:56:40.244Z] $ 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/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 [2022-07-05T13:56:40.513Z] $ docker top 156f94ca7051e1852c7886bb0f19961737e3122df31c8790a8ac58a5b8391c54 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-05T13:56:40.868Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-05T13:56:41.166Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-05T13:56:41.459Z] + ls /var/log/sa-host [2022-07-05T13:56:41.459Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-05T13:56:41.590Z] provisioning config files... [2022-07-05T13:56:41.600Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config841187814093924361tmp [Pipeline] { [Pipeline] echo [2022-07-05T13:56:41.612Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:56:41.900Z] ---> create-netrc.sh [Pipeline] } [2022-07-05T13:56:41.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:56:42.245Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-05T13:56:42.255Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:56:42.544Z] ---> sudo-logs.sh [2022-07-05T13:56:42.544Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-05T13:56:42.574Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:56:42.863Z] ---> job-cost.sh [2022-07-05T13:56:42.863Z] lf-activate-venv: SKIPPING [2022-07-05T13:56:42.863Z] DEBUG: total: 0.2199999988079071 [2022-07-05T13:56:42.863Z] INFO: Retrieving Stack Cost... [2022-07-05T13:56:43.123Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-05T13:56:43.694Z] INFO: Archiving Costs [Pipeline] echo [2022-07-05T13:56:43.707Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-05T13:56:43.993Z] ---> logs-deploy.sh [2022-07-05T13:56:43.993Z] lf-activate-venv: SKIPPING [2022-07-05T13:56:43.993Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/24 [2022-07-05T13:56:43.993Z] INFO: archiving workspace using pattern(s): [2022-07-05T13:56:44.936Z] Archives upload complete. [2022-07-05T13:56:44.937Z] INFO: archiving logs to Nexus