Pull request #42 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-usb-camera Obtained Jenkinsfile from e47f6a79ca27e04405bb922829f38199b6706fee+455d5982027557f38f4688dafc55c743213ab3fb (0a4b5b8beed69c8300f031965a7ab43aa9818608) 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-ssh16613866028052612893.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-ssh9082779073760787781.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-42/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-42/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15564590218064724914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-42/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17485379634657791431.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17643000768895810396.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-42/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-42/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12033059240283551411.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2575 in /w/workspace/xfoundry_device-usb-camera_PR-42 [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-42 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 455d5982027557f38f4688dafc55c743213ab3fb into PR head commit e47f6a79ca27e04405bb922829f38199b6706fee Merge succeeded, producing e47f6a79ca27e04405bb922829f38199b6706fee Checking out Revision e47f6a79ca27e04405bb922829f38199b6706fee (PR-42) > git config core.sparsecheckout # timeout=10 > git checkout -f e47f6a79ca27e04405bb922829f38199b6706fee # 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 455d5982027557f38f4688dafc55c743213ab3fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e47f6a79ca27e04405bb922829f38199b6706fee # timeout=10 Commit message: "build: Upgrade sdk and paho.mqtt lib" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T12:00:30.361Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T12:00:30.532Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T12:00:30.630Z] ========================================================= [2022-06-17T12:00:30.630Z] EdgeX Global Pipelines Version Info [2022-06-17T12:00:30.630Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:00:31.423Z] ------------------- [2022-06-17T12:00:31.423Z] stable info: [2022-06-17T12:00:31.423Z] ------------------- [2022-06-17T12:00:31.423Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T12:00:31.423Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T12:00:31.423Z] Message: update stable to v1.0.234 [2022-06-17T12:00:32.000Z] ------------------- [2022-06-17T12:00:32.000Z] experimental info: [2022-06-17T12:00:32.000Z] ------------------- [2022-06-17T12:00:32.000Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T12:00:32.000Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T12:00:32.000Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T12:00:32.455Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-06-17T12:00:32.497Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-06-17T12:00:32.533Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T12:00:32.571Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T12:00:32.609Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T12:00:32.643Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T12:00:32.676Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T12:00:32.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T12:00:32.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T12:00:32.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T12:00:32.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T12:00:32.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-06-17T12:00:32.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T12:00:32.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T12:00:32.980Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T12:00:33.020Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T12:00:33.059Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T12:00:33.097Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T12:00:33.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T12:00:33.171Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T12:00:33.209Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T12:00:33.245Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T12:00:33.281Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T12:00:33.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T12:00:33.417Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T12:00:33.458Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T12:00:33.513Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T12:00:33.548Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo [2022-06-17T12:00:33.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo [2022-06-17T12:00:33.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo [2022-06-17T12:00:33.666Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e47f6a79ca27e04405bb922829f38199b6706fee [Pipeline] echo [2022-06-17T12:00:33.704Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e47f6a7 [Pipeline] echo [2022-06-17T12:00:33.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T12:00:33.848Z] provisioning config files... [2022-06-17T12:00:33.863Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-42@tmp/config5886320665813934960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:00:34.210Z] ---> docker-login.sh [2022-06-17T12:00:34.211Z] nexus3.edgexfoundry.org:10001 [2022-06-17T12:00:34.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:34.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:34.471Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:34.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:34.471Z] [2022-06-17T12:00:34.736Z] Login Succeeded [2022-06-17T12:00:34.736Z] nexus3.edgexfoundry.org:10002 [2022-06-17T12:00:34.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:34.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:34.736Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:34.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:34.736Z] [2022-06-17T12:00:34.736Z] Login Succeeded [2022-06-17T12:00:34.736Z] nexus3.edgexfoundry.org:10003 [2022-06-17T12:00:34.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:34.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:34.996Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:34.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:34.996Z] [2022-06-17T12:00:34.996Z] Login Succeeded [2022-06-17T12:00:34.996Z] nexus3.edgexfoundry.org:10004 [2022-06-17T12:00:34.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:34.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:34.996Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:34.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:34.996Z] [2022-06-17T12:00:34.996Z] Login Succeeded [2022-06-17T12:00:34.996Z] docker.io [2022-06-17T12:00:35.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:35.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:35.522Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:35.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:35.522Z] [2022-06-17T12:00:35.522Z] Login Succeeded [2022-06-17T12:00:35.522Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T12:00:35.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T12:00:36.185Z] + git rev-list -1 --merges e47f6a79ca27e04405bb922829f38199b6706fee~1..e47f6a79ca27e04405bb922829f38199b6706fee [Pipeline] echo [2022-06-17T12:00:36.232Z] -----------> git rev-list -1 --merges e47f6a79ca27e04405bb922829f38199b6706fee~1..e47f6a79ca27e04405bb922829f38199b6706fee e47f6a79ca27e04405bb922829f38199b6706fee [false] [Pipeline] sh [2022-06-17T12:00:36.549Z] + git log --format=format:%s -1 e47f6a79ca27e04405bb922829f38199b6706fee [Pipeline] echo [2022-06-17T12:00:36.586Z] ========================================================= [2022-06-17T12:00:36.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T12:00:36.586Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T12:00:37.025Z] + git log --format=format:%s -1 e47f6a79ca27e04405bb922829f38199b6706fee [Pipeline] echo [2022-06-17T12:00:37.059Z] [semverPrep] GIT_COMMIT: e47f6a79ca27e04405bb922829f38199b6706fee, Commit Message: build: Upgrade sdk and paho.mqtt lib [Pipeline] echo [2022-06-17T12:00:37.090Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T12:00:37.469Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T12:00:37.469Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T12:00:37.469Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T12:00:37.469Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T12:00:37.469Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T12:00:37.469Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T12:00:37.469Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:00:37.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T12:00:37.905Z] [2022-06-17T12:00:37.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:00:38.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T12:00:38.286Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T12:00:38.286Z] 42c077c10790: Pulling fs layer [2022-06-17T12:00:38.286Z] f63e77b7563a: Pulling fs layer [2022-06-17T12:00:38.286Z] bd5fdadae976: Pulling fs layer [2022-06-17T12:00:38.286Z] 205491f53016: Pulling fs layer [2022-06-17T12:00:38.286Z] df18705c85c3: Pulling fs layer [2022-06-17T12:00:38.286Z] bdb3f477010e: Pulling fs layer [2022-06-17T12:00:38.286Z] df18705c85c3: Waiting [2022-06-17T12:00:38.286Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T12:00:38.286Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T12:00:38.286Z] 205491f53016: Waiting [2022-06-17T12:00:38.286Z] bdb8f0575790: Pulling fs layer [2022-06-17T12:00:38.286Z] bdb3f477010e: Waiting [2022-06-17T12:00:38.286Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T12:00:38.286Z] 2c6e9b1d212d: Waiting [2022-06-17T12:00:38.286Z] 2343380bae48: Pulling fs layer [2022-06-17T12:00:38.286Z] c8a8fc8e1c8f: Waiting [2022-06-17T12:00:38.286Z] 386e3cb2ff24: Waiting [2022-06-17T12:00:38.286Z] 2343380bae48: Waiting [2022-06-17T12:00:38.286Z] f63e77b7563a: Download complete [2022-06-17T12:00:38.286Z] 205491f53016: Verifying Checksum [2022-06-17T12:00:38.286Z] 205491f53016: Download complete [2022-06-17T12:00:38.547Z] df18705c85c3: Verifying Checksum [2022-06-17T12:00:38.547Z] df18705c85c3: Download complete [2022-06-17T12:00:38.547Z] bdb3f477010e: Verifying Checksum [2022-06-17T12:00:38.547Z] bdb3f477010e: Download complete [2022-06-17T12:00:38.547Z] bd5fdadae976: Verifying Checksum [2022-06-17T12:00:38.547Z] bd5fdadae976: Download complete [2022-06-17T12:00:38.547Z] 2c6e9b1d212d: Verifying Checksum [2022-06-17T12:00:38.547Z] 2c6e9b1d212d: Download complete [2022-06-17T12:00:38.547Z] bdb8f0575790: Download complete [2022-06-17T12:00:38.547Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T12:00:38.547Z] 386e3cb2ff24: Download complete [2022-06-17T12:00:38.547Z] 2343380bae48: Verifying Checksum [2022-06-17T12:00:38.547Z] 2343380bae48: Download complete [2022-06-17T12:00:38.547Z] 42c077c10790: Verifying Checksum [2022-06-17T12:00:38.547Z] 42c077c10790: Download complete [2022-06-17T12:00:38.807Z] c8a8fc8e1c8f: Download complete [2022-06-17T12:00:40.192Z] 42c077c10790: Pull complete [2022-06-17T12:00:40.192Z] f63e77b7563a: Pull complete [2022-06-17T12:00:40.765Z] bd5fdadae976: Pull complete [2022-06-17T12:00:40.765Z] 205491f53016: Pull complete [2022-06-17T12:00:41.027Z] df18705c85c3: Pull complete [2022-06-17T12:00:41.287Z] bdb3f477010e: Pull complete [2022-06-17T12:00:43.198Z] c8a8fc8e1c8f: Pull complete [2022-06-17T12:00:43.198Z] 2c6e9b1d212d: Pull complete [2022-06-17T12:00:43.198Z] bdb8f0575790: Pull complete [2022-06-17T12:00:43.460Z] 386e3cb2ff24: Pull complete [2022-06-17T12:00:43.460Z] 2343380bae48: Pull complete [2022-06-17T12:00:43.460Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T12:00:43.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T12:00:43.460Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:00:43.738Z] prd-ubuntu20.04-docker-8c-8g-2575 does not seem to be running inside a container [2022-06-17T12:00:43.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-42 -v /w/workspace/xfoundry_device-usb-camera_PR-42:/w/workspace/xfoundry_device-usb-camera_PR-42:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-42@tmp:/w/workspace/xfoundry_device-usb-camera_PR-42@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T12:00:45.401Z] $ docker top e95be6c4405d69ef96e5cb8230b7a181a986400fbc616b07758b0ffc761517fb -eo pid,comm [2022-06-17T12:00:45.461Z] 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-06-17T12:00:45.461Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T12:00:45.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T12:00:45.706Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T12:00:45.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T12:00:45.837Z] $ docker exec e95be6c4405d69ef96e5cb8230b7a181a986400fbc616b07758b0ffc761517fb ssh-agent [2022-06-17T12:00:45.951Z] SSH_AUTH_SOCK=/tmp/ssh-7EMkEEIOodJ9/agent.33 [2022-06-17T12:00:45.951Z] SSH_AGENT_PID=39 [2022-06-17T12:00:45.957Z] Running ssh-add (command line suppressed) [2022-06-17T12:00:46.065Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-42@tmp/private_key_6349965118601982048.key (/w/workspace/xfoundry_device-usb-camera_PR-42@tmp/private_key_6349965118601982048.key) [2022-06-17T12:00:46.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T12:00:46.407Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T12:00:46.438Z] $ docker exec --env ******** --env ******** e95be6c4405d69ef96e5cb8230b7a181a986400fbc616b07758b0ffc761517fb ssh-agent -k [2022-06-17T12:00:46.552Z] unset SSH_AUTH_SOCK; [2022-06-17T12:00:46.553Z] unset SSH_AGENT_PID; [2022-06-17T12:00:46.553Z] echo Agent pid 39 killed; [2022-06-17T12:00:46.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T12:00:46.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T12:00:46.717Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T12:00:46.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T12:00:46.844Z] $ docker exec e95be6c4405d69ef96e5cb8230b7a181a986400fbc616b07758b0ffc761517fb ssh-agent [2022-06-17T12:00:46.952Z] SSH_AUTH_SOCK=/tmp/ssh-5t9hU8dlkIT3/agent.72 [2022-06-17T12:00:46.952Z] SSH_AGENT_PID=78 [2022-06-17T12:00:46.957Z] Running ssh-add (command line suppressed) [2022-06-17T12:00:47.078Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-42@tmp/private_key_8566602335229875191.key (/w/workspace/xfoundry_device-usb-camera_PR-42@tmp/private_key_8566602335229875191.key) [2022-06-17T12:00:47.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T12:00:47.416Z] + git semver init [2022-06-17T12:00:47.678Z] 2022-06-17 12:00:47,610 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T12:00:47.678Z] 2022-06-17 12:00:47,611 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-42/.semver [2022-06-17T12:00:47.678Z] 2022-06-17 12:00:47,611 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-42/.semver [2022-06-17T12:00:47.678Z] 2022-06-17 12:00:47,612 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-42/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-42, universal_newlines=False, shell=None, istream=None) [2022-06-17T12:00:48.251Z] 2022-06-17 12:00:48,162 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-42/.git/info/exclude [2022-06-17T12:00:48.251Z] 2022-06-17 12:00:48,165 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-42/.semver/PR-42 with force:False [2022-06-17T12:00:48.251Z] 2022-06-17 12:00:48,165 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-42/.semver/PR-42 [2022-06-17T12:00:48.251Z] 2022-06-17 12:00:48,171 [execute] INFO git cat-file --batch-check [2022-06-17T12:00:48.251Z] 2022-06-17 12:00:48,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-42/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T12:00:48.251Z] 2022-06-17 12:00:48,177 [execute] INFO git cat-file --batch [2022-06-17T12:00:48.251Z] 2022-06-17 12:00:48,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-42/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T12:00:48.251Z] 2022-06-17 12:00:48,182 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-42/.semver/PR-42 [2022-06-17T12:00:48.251Z] 0.0.0 [Pipeline] } [2022-06-17T12:00:48.285Z] $ docker exec --env ******** --env ******** e95be6c4405d69ef96e5cb8230b7a181a986400fbc616b07758b0ffc761517fb ssh-agent -k [2022-06-17T12:00:48.397Z] unset SSH_AUTH_SOCK; [2022-06-17T12:00:48.397Z] unset SSH_AGENT_PID; [2022-06-17T12:00:48.397Z] echo Agent pid 78 killed; [2022-06-17T12:00:48.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T12:00:48.831Z] + git semver [Pipeline] } [2022-06-17T12:00:49.126Z] $ docker stop --time=1 e95be6c4405d69ef96e5cb8230b7a181a986400fbc616b07758b0ffc761517fb [2022-06-17T12:00:50.432Z] $ docker rm -f e95be6c4405d69ef96e5cb8230b7a181a986400fbc616b07758b0ffc761517fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T12:00:50.847Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T12:00:51.141Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T12:00:51.157Z] [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-06-17T12:00:51.711Z] provisioning config files... [2022-06-17T12:00:51.721Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-42@tmp/config5390981165175134544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:00:52.062Z] ---> docker-login.sh [2022-06-17T12:00:52.062Z] nexus3.edgexfoundry.org:10001 [2022-06-17T12:00:52.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:52.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:52.062Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:52.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:52.062Z] [2022-06-17T12:00:52.062Z] Login Succeeded [2022-06-17T12:00:52.062Z] nexus3.edgexfoundry.org:10002 [2022-06-17T12:00:52.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:52.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:52.322Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:52.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:52.322Z] [2022-06-17T12:00:52.322Z] Login Succeeded [2022-06-17T12:00:52.322Z] nexus3.edgexfoundry.org:10003 [2022-06-17T12:00:52.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:52.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:52.322Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:52.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:52.322Z] [2022-06-17T12:00:52.322Z] Login Succeeded [2022-06-17T12:00:52.322Z] nexus3.edgexfoundry.org:10004 [2022-06-17T12:00:52.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:52.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:52.584Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:52.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:52.584Z] [2022-06-17T12:00:52.584Z] Login Succeeded [2022-06-17T12:00:52.584Z] docker.io [2022-06-17T12:00:52.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:00:52.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:00:52.844Z] Configure a credential helper to remove this warning. See [2022-06-17T12:00:52.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:00:52.844Z] [2022-06-17T12:00:52.844Z] Login Succeeded [2022-06-17T12:00:52.844Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T12:00:52.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T12:00:53.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T12:00:53.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T12:00:53.119Z] ========================================================= [2022-06-17T12:00:53.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T12:00:53.119Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:00:53.572Z] + 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-06-17T12:00:53.572Z] Sending build context to Docker daemon 646.1kB [2022-06-17T12:00:53.572Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T12:00:53.572Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T12:00:53.572Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T12:00:53.572Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T12:00:53.572Z] 666ba61612fd: Pulling fs layer [2022-06-17T12:00:53.572Z] 8ed8ca486205: Pulling fs layer [2022-06-17T12:00:53.572Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T12:00:53.572Z] c516ae0d96e1: Pulling fs layer [2022-06-17T12:00:53.572Z] 684cea983483: Pulling fs layer [2022-06-17T12:00:53.572Z] dd3240ac7de5: Pulling fs layer [2022-06-17T12:00:53.572Z] b1e948a4e11c: Pulling fs layer [2022-06-17T12:00:53.572Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T12:00:53.572Z] 646ad004c059: Pulling fs layer [2022-06-17T12:00:53.572Z] 684cea983483: Waiting [2022-06-17T12:00:53.572Z] cc1cd167ecdc: Waiting [2022-06-17T12:00:53.572Z] b1e948a4e11c: Waiting [2022-06-17T12:00:53.572Z] dd3240ac7de5: Waiting [2022-06-17T12:00:53.572Z] c516ae0d96e1: Waiting [2022-06-17T12:00:53.572Z] a8fd76ee1af6: Waiting [2022-06-17T12:00:53.572Z] 8ed8ca486205: Verifying Checksum [2022-06-17T12:00:53.572Z] 8ed8ca486205: Download complete [2022-06-17T12:00:53.572Z] 666ba61612fd: Download complete [2022-06-17T12:00:53.572Z] c516ae0d96e1: Verifying Checksum [2022-06-17T12:00:53.572Z] c516ae0d96e1: Download complete [2022-06-17T12:00:53.572Z] 684cea983483: Verifying Checksum [2022-06-17T12:00:53.572Z] 684cea983483: Download complete [2022-06-17T12:00:53.572Z] dd3240ac7de5: Verifying Checksum [2022-06-17T12:00:53.572Z] dd3240ac7de5: Download complete [2022-06-17T12:00:53.833Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T12:00:53.833Z] 59bf1c3509f3: Download complete [2022-06-17T12:00:53.833Z] b1e948a4e11c: Verifying Checksum [2022-06-17T12:00:53.833Z] b1e948a4e11c: Download complete [2022-06-17T12:00:53.833Z] 59bf1c3509f3: Pull complete [2022-06-17T12:00:54.093Z] 666ba61612fd: Pull complete [2022-06-17T12:00:54.093Z] 8ed8ca486205: Pull complete [2022-06-17T12:00:54.354Z] 646ad004c059: Verifying Checksum [2022-06-17T12:00:54.354Z] 646ad004c059: Download complete [2022-06-17T12:00:54.354Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T12:00:54.354Z] cc1cd167ecdc: Download complete [2022-06-17T12:00:54.354Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T12:00:54.354Z] a8fd76ee1af6: Download complete [2022-06-17T12:00:58.544Z] cc1cd167ecdc: Pull complete [2022-06-17T12:00:58.544Z] c516ae0d96e1: Pull complete [2022-06-17T12:00:58.544Z] 684cea983483: Pull complete [2022-06-17T12:00:58.544Z] dd3240ac7de5: Pull complete [2022-06-17T12:00:58.544Z] b1e948a4e11c: Pull complete [2022-06-17T12:01:00.447Z] a8fd76ee1af6: Pull complete [2022-06-17T12:01:01.016Z] 646ad004c059: Pull complete [2022-06-17T12:01:01.016Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T12:01:01.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T12:01:01.016Z] ---> 8f69c11f6b0c [2022-06-17T12:01:01.016Z] Step 3/12 : ARG MAKE="make build" [2022-06-17T12:01:03.562Z] ---> Running in 423456481c25 [2022-06-17T12:01:03.562Z] Removing intermediate container 423456481c25 [2022-06-17T12:01:03.562Z] ---> 95a0df2fbcaa [2022-06-17T12:01:03.562Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T12:01:03.562Z] ---> Running in 03f7d2125ca1 [2022-06-17T12:01:03.562Z] Removing intermediate container 03f7d2125ca1 [2022-06-17T12:01:03.562Z] ---> 54349c7e569a [2022-06-17T12:01:03.562Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-17T12:01:03.562Z] ---> Running in 9f31a7298491 [2022-06-17T12:01:03.562Z] Removing intermediate container 9f31a7298491 [2022-06-17T12:01:03.562Z] ---> b8dfae8b491b [2022-06-17T12:01:03.562Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T12:01:03.562Z] ---> Running in 6175f88fadaf [2022-06-17T12:01:04.133Z] Removing intermediate container 6175f88fadaf [2022-06-17T12:01:04.133Z] ---> ac4b15df3b8d [2022-06-17T12:01:04.133Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T12:01:04.393Z] ---> Running in 27ea75c8fd92 [2022-06-17T12:01:04.654Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T12:01:05.595Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T12:01:05.595Z] (1/81) Installing mesa (21.2.6-r0) [2022-06-17T12:01:05.856Z] (2/81) Installing libxau (1.0.9-r0) [2022-06-17T12:01:05.856Z] (3/81) Installing libmd (1.0.3-r0) [2022-06-17T12:01:05.856Z] (4/81) Installing libbsd (0.11.3-r1) [2022-06-17T12:01:06.117Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-06-17T12:01:06.117Z] (6/81) Installing libxcb (1.14-r2) [2022-06-17T12:01:06.117Z] (7/81) Installing libx11 (1.7.2-r0) [2022-06-17T12:01:06.377Z] (8/81) Installing libxext (1.3.4-r0) [2022-06-17T12:01:06.377Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-06-17T12:01:06.550Z] Still waiting to schedule task [2022-06-17T12:01:06.550Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-17T12:01:06.638Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-06-17T12:01:06.638Z] (11/81) Installing libpciaccess (0.16-r0) [2022-06-17T12:01:06.638Z] (12/81) Installing libdrm (2.4.109-r0) [2022-06-17T12:01:06.900Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-06-17T12:01:06.900Z] (14/81) Installing libxshmfence (1.3-r1) [2022-06-17T12:01:06.900Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-06-17T12:01:07.161Z] (16/81) Installing libice (1.0.10-r0) [2022-06-17T12:01:07.161Z] (17/81) Installing libuuid (2.37.4-r0) [2022-06-17T12:01:07.161Z] (18/81) Installing libsm (1.2.3-r0) [2022-06-17T12:01:07.424Z] (19/81) Installing libxt (1.2.1-r0) [2022-06-17T12:01:07.424Z] (20/81) Installing libxmu (1.1.3-r0) [2022-06-17T12:01:07.424Z] (21/81) Installing xset (1.2.4-r0) [2022-06-17T12:01:07.684Z] (22/81) Installing xprop (1.2.5-r0) [2022-06-17T12:01:07.684Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-06-17T12:01:07.684Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-06-17T12:01:07.944Z] (25/81) Installing libffi (3.4.2-r1) [2022-06-17T12:01:07.944Z] (26/81) Installing libintl (0.21-r0) [2022-06-17T12:01:07.944Z] (27/81) Installing libblkid (2.37.4-r0) [2022-06-17T12:01:08.204Z] (28/81) Installing libmount (2.37.4-r0) [2022-06-17T12:01:08.204Z] (29/81) Installing pcre (8.45-r1) [2022-06-17T12:01:08.204Z] (30/81) Installing glib (2.70.1-r0) [2022-06-17T12:01:08.464Z] (31/81) Installing icu-libs (69.1-r1) [2022-06-17T12:01:09.410Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-06-17T12:01:09.410Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-06-17T12:01:09.410Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-06-17T12:01:09.670Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-06-17T12:01:09.670Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-06-17T12:01:09.930Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-06-17T12:01:09.930Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-06-17T12:01:09.930Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-06-17T12:01:10.193Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-06-17T12:01:10.453Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-06-17T12:01:10.453Z] (42/81) Installing libpng (1.6.37-r1) [2022-06-17T12:01:10.453Z] (43/81) Installing freetype (2.11.1-r2) [2022-06-17T12:01:10.714Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-06-17T12:01:10.714Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-06-17T12:01:10.977Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-06-17T12:01:10.977Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-06-17T12:01:10.977Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-06-17T12:01:11.238Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-06-17T12:01:11.238Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-06-17T12:01:11.238Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-06-17T12:01:11.498Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-06-17T12:01:11.498Z] (53/81) Installing avahi-libs (0.8-r5) [2022-06-17T12:01:11.760Z] (54/81) Installing nettle (3.7.3-r0) [2022-06-17T12:01:11.760Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-06-17T12:01:11.760Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-06-17T12:01:12.023Z] (57/81) Installing libunistring (0.9.10-r1) [2022-06-17T12:01:12.023Z] (58/81) Installing gnutls (3.7.1-r0) [2022-06-17T12:01:12.023Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-06-17T12:01:12.288Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-06-17T12:01:12.288Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-06-17T12:01:12.289Z] (62/81) Installing libevdev (1.12.0-r0) [2022-06-17T12:01:12.551Z] (63/81) Installing mtdev (1.1.6-r0) [2022-06-17T12:01:12.551Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-17T12:01:12.551Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-06-17T12:01:12.813Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-06-17T12:01:12.813Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-06-17T12:01:13.076Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-06-17T12:01:13.076Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-06-17T12:01:13.076Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-06-17T12:01:13.339Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-06-17T12:01:13.339Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-06-17T12:01:13.339Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-06-17T12:01:13.910Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-06-17T12:01:13.910Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-06-17T12:01:14.171Z] (76/81) Installing udev-init-scripts (35-r0) [2022-06-17T12:01:14.171Z] Executing udev-init-scripts-35-r0.post-install [2022-06-17T12:01:14.171Z] (77/81) Installing kmod-libs (29-r2) [2022-06-17T12:01:14.171Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-06-17T12:01:14.431Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-17T12:01:14.431Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-17T12:01:14.431Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-06-17T12:01:14.690Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T12:01:14.690Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-17T12:01:14.690Z] OK: 335 MiB in 133 packages [2022-06-17T12:01:16.604Z] Removing intermediate container 27ea75c8fd92 [2022-06-17T12:01:16.604Z] ---> e4a69bf75ef0 [2022-06-17T12:01:16.604Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-17T12:01:16.604Z] ---> Running in a9d0099c4dc5 [2022-06-17T12:01:16.865Z] Removing intermediate container a9d0099c4dc5 [2022-06-17T12:01:16.865Z] ---> 6ea6de407ac2 [2022-06-17T12:01:16.865Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-17T12:01:16.865Z] ---> 3a6a35ae2fca [2022-06-17T12:01:16.865Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T12:01:17.143Z] ---> Running in 4277a6df75af [2022-06-17T12:01:32.140Z] Removing intermediate container 4277a6df75af [2022-06-17T12:01:32.140Z] ---> 95d100055945 [2022-06-17T12:01:32.140Z] Step 11/12 : COPY . . [2022-06-17T12:01:32.140Z] ---> 752b4babbb2e [2022-06-17T12:01:32.140Z] Step 12/12 : RUN ${MAKE} [2022-06-17T12:01:32.140Z] ---> Running in ec3f866d47f1 [2022-06-17T12:01:32.140Z] noop [2022-06-17T12:01:32.140Z] Removing intermediate container ec3f866d47f1 [2022-06-17T12:01:32.140Z] ---> a3e27f88e679 [2022-06-17T12:01:32.140Z] Successfully built a3e27f88e679 [2022-06-17T12:01:32.140Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:01:32.584Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T12:01:32.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:01:32.751Z] prd-ubuntu20.04-docker-8c-8g-2575 does not seem to be running inside a container [2022-06-17T12:01:32.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-42 -v /w/workspace/xfoundry_device-usb-camera_PR-42:/w/workspace/xfoundry_device-usb-camera_PR-42:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-42@tmp:/w/workspace/xfoundry_device-usb-camera_PR-42@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 ******** ci-base-image-x86_64 cat [2022-06-17T12:01:33.215Z] $ docker top 7962a10f4c8a7da6f2724719165d48084680384e1a60a94ef219c8aea00a4d2e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T12:01:33.636Z] + go version [2022-06-17T12:01:33.636Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T12:01:33.672Z] $ docker stop --time=1 7962a10f4c8a7da6f2724719165d48084680384e1a60a94ef219c8aea00a4d2e [2022-06-17T12:01:34.985Z] $ docker rm -f 7962a10f4c8a7da6f2724719165d48084680384e1a60a94ef219c8aea00a4d2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:01:35.717Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T12:01:35.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:01:35.876Z] prd-ubuntu20.04-docker-8c-8g-2575 does not seem to be running inside a container [2022-06-17T12:01:35.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-42 -v /w/workspace/xfoundry_device-usb-camera_PR-42:/w/workspace/xfoundry_device-usb-camera_PR-42:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-42@tmp:/w/workspace/xfoundry_device-usb-camera_PR-42@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 ******** ci-base-image-x86_64 cat [2022-06-17T12:01:36.330Z] $ docker top ce350fdb6a145d31c69ddec45a421911d4697077dbfca28ad3ccf5c6cbc36e1f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T12:01:36.780Z] + make test [2022-06-17T12:01:36.780Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-17T12:01:37.039Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-17T12:01:47.027Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-17T12:01:47.027Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-17T12:01:53.610Z] CGO_ENABLED=1 go vet ./... [2022-06-17T12:01:56.901Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T12:01:56.901Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T12:01:56.901Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T12:01:57.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T12:01:57.534Z] $ docker stop --time=1 ce350fdb6a145d31c69ddec45a421911d4697077dbfca28ad3ccf5c6cbc36e1f [2022-06-17T12:01:59.604Z] $ docker rm -f ce350fdb6a145d31c69ddec45a421911d4697077dbfca28ad3ccf5c6cbc36e1f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T12:02:00.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T12:02:00.206Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T12:02:00.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T12:02:01.298Z] + ls -al . [2022-06-17T12:02:01.298Z] total 164 [2022-06-17T12:02:01.298Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 12:01 . [2022-06-17T12:02:01.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 12:00 .. [2022-06-17T12:02:01.298Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 12:00 .git [2022-06-17T12:02:01.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 12:00 .github [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 349 Jun 17 12:00 .gitignore [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 12:00 .golangci.yml [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 17 12:00 .hadolint.yml [2022-06-17T12:02:01.298Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 12:00 .semver [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 8834 Jun 17 12:00 Attribution.txt [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 17 12:00 CHANGELOG.md [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 17 12:00 Dockerfile [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 17 12:00 GOVERNANCE.md [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 17 12:00 Jenkinsfile [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 12:00 LICENSE [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 17 12:00 Makefile [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 17 12:00 OWNERS.md [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 17 12:00 README.md [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 12:00 VERSION [2022-06-17T12:02:01.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 12:00 bin [2022-06-17T12:02:01.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 12:00 cmd [2022-06-17T12:02:01.298Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 17 12:01 coverage.out [2022-06-17T12:02:01.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 12:00 docker-compose [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 12:00 docker-entrypoint.sh [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 3357 Jun 17 12:00 go.mod [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 36325 Jun 17 12:00 go.sum [2022-06-17T12:02:01.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 12:00 internal [2022-06-17T12:02:01.298Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 17 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:02:01.685Z] + 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=e47f6a79ca27e04405bb922829f38199b6706fee --label arch=amd64 --label version=0.0.0 . [2022-06-17T12:02:01.685Z] Sending build context to Docker daemon 647.2kB [2022-06-17T12:02:01.685Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T12:02:01.685Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-17T12:02:01.685Z] ---> a3e27f88e679 [2022-06-17T12:02:01.685Z] Step 3/29 : ARG MAKE="make build" [2022-06-17T12:02:01.685Z] ---> Running in 0b0041346b19 [2022-06-17T12:02:01.951Z] Removing intermediate container 0b0041346b19 [2022-06-17T12:02:01.951Z] ---> 1081603bf6ce [2022-06-17T12:02:01.951Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T12:02:01.951Z] ---> Running in 3f0a6a3ad9a1 [2022-06-17T12:02:02.215Z] Removing intermediate container 3f0a6a3ad9a1 [2022-06-17T12:02:02.215Z] ---> 699d81303de5 [2022-06-17T12:02:02.215Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-17T12:02:02.215Z] ---> Running in c5e80044cc45 [2022-06-17T12:02:02.215Z] Removing intermediate container c5e80044cc45 [2022-06-17T12:02:02.215Z] ---> a1724d224908 [2022-06-17T12:02:02.215Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T12:02:02.479Z] ---> Running in f9d2c2a9445c [2022-06-17T12:02:03.053Z] Removing intermediate container f9d2c2a9445c [2022-06-17T12:02:03.053Z] ---> be3ad045eee3 [2022-06-17T12:02:03.053Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T12:02:03.313Z] ---> Running in ec74968a00a3 [2022-06-17T12:02:03.575Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T12:02:04.517Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T12:02:04.517Z] OK: 335 MiB in 133 packages [2022-06-17T12:02:05.089Z] Removing intermediate container ec74968a00a3 [2022-06-17T12:02:05.089Z] ---> 01cf8f673bba [2022-06-17T12:02:05.089Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-17T12:02:05.089Z] ---> Running in df79a5492c1d [2022-06-17T12:02:05.089Z] Removing intermediate container df79a5492c1d [2022-06-17T12:02:05.089Z] ---> c22ce8afee32 [2022-06-17T12:02:05.089Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-17T12:02:05.349Z] ---> 5e4cad387b7a [2022-06-17T12:02:05.349Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T12:02:05.349Z] ---> Running in 05ad5a3e780a [2022-06-17T12:02:05.921Z] Removing intermediate container 05ad5a3e780a [2022-06-17T12:02:05.921Z] ---> e4852ce5b758 [2022-06-17T12:02:05.921Z] Step 11/29 : COPY . . [2022-06-17T12:02:06.182Z] ---> 21bdddfc49d9 [2022-06-17T12:02:06.182Z] Step 12/29 : RUN ${MAKE} [2022-06-17T12:02:06.182Z] ---> Running in 57c5216790b6 [2022-06-17T12:02:06.441Z] 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.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-06-17T12:02:28.392Z] Removing intermediate container 57c5216790b6 [2022-06-17T12:02:28.392Z] ---> 90e8a4b34980 [2022-06-17T12:02:28.392Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-17T12:02:28.392Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-17T12:02:28.392Z] af6660deedbd: Pulling fs layer [2022-06-17T12:02:28.392Z] 97cd0a44c592: Pulling fs layer [2022-06-17T12:02:28.392Z] 97cd0a44c592: Verifying Checksum [2022-06-17T12:02:28.392Z] 97cd0a44c592: Download complete [2022-06-17T12:02:28.392Z] af6660deedbd: Verifying Checksum [2022-06-17T12:02:28.392Z] af6660deedbd: Download complete [2022-06-17T12:02:28.392Z] af6660deedbd: Pull complete [2022-06-17T12:02:28.392Z] 97cd0a44c592: Pull complete [2022-06-17T12:02:28.392Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-17T12:02:28.392Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-17T12:02:28.392Z] ---> fea57e182299 [2022-06-17T12:02:28.392Z] Step 14/29 : FROM alpine:3.15 [2022-06-17T12:02:28.392Z] 3.15: Pulling from library/alpine [2022-06-17T12:02:28.392Z] df9b9388f04a: Pulling fs layer [2022-06-17T12:02:28.392Z] df9b9388f04a: Verifying Checksum [2022-06-17T12:02:28.392Z] df9b9388f04a: Download complete [2022-06-17T12:02:28.392Z] df9b9388f04a: Pull complete [2022-06-17T12:02:28.392Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T12:02:28.392Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T12:02:28.392Z] ---> 0ac33e5f5afa [2022-06-17T12:02:28.392Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T12:02:28.392Z] ---> Running in 3525968d2330 [2022-06-17T12:02:28.392Z] Removing intermediate container 3525968d2330 [2022-06-17T12:02:28.392Z] ---> 576b6eb3fd93 [2022-06-17T12:02:28.392Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-17T12:02:28.392Z] ---> Running in 57e8cf0d66ca [2022-06-17T12:02:28.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T12:02:28.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T12:02:28.915Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-06-17T12:02:28.915Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-06-17T12:02:28.915Z] (3/74) Installing libxau (1.0.9-r0) [2022-06-17T12:02:28.915Z] (4/74) Installing libmd (1.0.3-r0) [2022-06-17T12:02:28.915Z] (5/74) Installing libbsd (0.11.3-r1) [2022-06-17T12:02:28.915Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-06-17T12:02:28.915Z] (7/74) Installing libxcb (1.14-r2) [2022-06-17T12:02:28.915Z] (8/74) Installing libx11 (1.7.2-r0) [2022-06-17T12:02:28.915Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-06-17T12:02:28.915Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-06-17T12:02:29.175Z] (11/74) Installing expat (2.4.7-r0) [2022-06-17T12:02:29.175Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-06-17T12:02:29.175Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-06-17T12:02:29.175Z] (14/74) Installing libpng (1.6.37-r1) [2022-06-17T12:02:29.175Z] (15/74) Installing freetype (2.11.1-r2) [2022-06-17T12:02:29.175Z] (16/74) Installing libuuid (2.37.4-r0) [2022-06-17T12:02:29.175Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-06-17T12:02:29.175Z] (18/74) Installing fribidi (1.0.11-r0) [2022-06-17T12:02:29.175Z] (19/74) Installing libffi (3.4.2-r1) [2022-06-17T12:02:29.175Z] (20/74) Installing libintl (0.21-r0) [2022-06-17T12:02:29.175Z] (21/74) Installing libblkid (2.37.4-r0) [2022-06-17T12:02:29.175Z] (22/74) Installing libmount (2.37.4-r0) [2022-06-17T12:02:29.175Z] (23/74) Installing pcre (8.45-r1) [2022-06-17T12:02:29.175Z] (24/74) Installing glib (2.70.1-r0) [2022-06-17T12:02:29.175Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-06-17T12:02:29.175Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-06-17T12:02:29.175Z] (27/74) Installing libass (0.15.2-r0) [2022-06-17T12:02:29.175Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-06-17T12:02:29.175Z] (29/74) Installing gmp (6.2.1-r1) [2022-06-17T12:02:29.175Z] (30/74) Installing nettle (3.7.3-r0) [2022-06-17T12:02:29.175Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-06-17T12:02:29.175Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-06-17T12:02:29.435Z] (33/74) Installing libunistring (0.9.10-r1) [2022-06-17T12:02:29.435Z] (34/74) Installing gnutls (3.7.1-r0) [2022-06-17T12:02:29.435Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-17T12:02:29.435Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-17T12:02:29.435Z] (37/74) Installing lame (3.100-r0) [2022-06-17T12:02:29.435Z] (38/74) Installing opus (1.3.1-r1) [2022-06-17T12:02:29.435Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-06-17T12:02:29.435Z] (40/74) Installing soxr (0.1.3-r2) [2022-06-17T12:02:29.435Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T12:02:29.435Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T12:02:29.435Z] (43/74) Installing libsrt (1.4.2-r1) [2022-06-17T12:02:29.435Z] (44/74) Installing libssh (0.9.6-r1) [2022-06-17T12:02:29.435Z] (45/74) Installing libogg (1.3.5-r0) [2022-06-17T12:02:29.435Z] (46/74) Installing libtheora (1.1.1-r16) [2022-06-17T12:02:29.435Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-06-17T12:02:29.435Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-06-17T12:02:29.435Z] (49/74) Installing libxext (1.3.4-r0) [2022-06-17T12:02:29.435Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-06-17T12:02:29.435Z] (51/74) Installing libpciaccess (0.16-r0) [2022-06-17T12:02:29.435Z] (52/74) Installing libdrm (2.4.109-r0) [2022-06-17T12:02:29.435Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-06-17T12:02:29.435Z] (54/74) Installing libva (2.13.0-r0) [2022-06-17T12:02:29.435Z] (55/74) Installing libvdpau (1.4-r0) [2022-06-17T12:02:29.435Z] (56/74) Installing vidstab (1.1.0-r1) [2022-06-17T12:02:29.435Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-06-17T12:02:29.435Z] (58/74) Installing libvpx (1.10.0-r0) [2022-06-17T12:02:29.695Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-06-17T12:02:29.695Z] (60/74) Installing libwebp (1.2.2-r0) [2022-06-17T12:02:29.695Z] (61/74) Installing x264-libs (20210613-r0) [2022-06-17T12:02:29.695Z] (62/74) Installing x265-libs (3.5-r0) [2022-06-17T12:02:29.695Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-06-17T12:02:29.695Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-06-17T12:02:29.695Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-06-17T12:02:29.695Z] (66/74) Installing udev-init-scripts (35-r0) [2022-06-17T12:02:29.695Z] Executing udev-init-scripts-35-r0.post-install [2022-06-17T12:02:29.695Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-17T12:02:29.695Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-06-17T12:02:29.695Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-06-17T12:02:29.695Z] (70/74) Installing kmod-libs (29-r2) [2022-06-17T12:02:29.957Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-06-17T12:02:29.957Z] (72/74) Installing libsodium (1.0.18-r0) [2022-06-17T12:02:29.957Z] (73/74) Installing libzmq (4.3.4-r0) [2022-06-17T12:02:29.957Z] (74/74) Installing zeromq (4.3.4-r0) [2022-06-17T12:02:29.957Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T12:02:29.957Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-17T12:02:29.957Z] OK: 78 MiB in 88 packages [2022-06-17T12:02:31.343Z] Removing intermediate container 57e8cf0d66ca [2022-06-17T12:02:31.343Z] ---> 07b18dc9cd51 [2022-06-17T12:02:31.343Z] Step 17/29 : WORKDIR / [2022-06-17T12:02:31.343Z] ---> Running in 3cd55026a94f [2022-06-17T12:02:31.343Z] Removing intermediate container 3cd55026a94f [2022-06-17T12:02:31.343Z] ---> 2c0ae8522bdf [2022-06-17T12:02:31.343Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-17T12:02:31.915Z] ---> 881188eafa2f [2022-06-17T12:02:31.915Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-17T12:02:32.180Z] ---> 3ae77f9dcaf6 [2022-06-17T12:02:32.180Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-17T12:02:32.440Z] ---> 285a5ee3c410 [2022-06-17T12:02:32.440Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-17T12:02:32.440Z] ---> 052645279ae8 [2022-06-17T12:02:32.440Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-17T12:02:32.702Z] ---> 1d67d07134ba [2022-06-17T12:02:32.702Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-17T12:02:33.273Z] ---> 010bbcb68d06 [2022-06-17T12:02:33.273Z] Step 24/29 : EXPOSE 59983 [2022-06-17T12:02:33.273Z] ---> Running in 2f26f54ebbf3 [2022-06-17T12:02:33.273Z] Removing intermediate container 2f26f54ebbf3 [2022-06-17T12:02:33.273Z] ---> 75eec568e2f7 [2022-06-17T12:02:33.273Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-17T12:02:33.273Z] ---> Running in 151d2e54841b [2022-06-17T12:02:33.273Z] Removing intermediate container 151d2e54841b [2022-06-17T12:02:33.273Z] ---> bec2d4d90292 [2022-06-17T12:02:33.273Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-17T12:02:33.534Z] ---> Running in 7e17d8ecb86e [2022-06-17T12:02:33.534Z] Removing intermediate container 7e17d8ecb86e [2022-06-17T12:02:33.534Z] ---> 7a35540c6287 [2022-06-17T12:02:33.534Z] Step 27/29 : LABEL arch=amd64 [2022-06-17T12:02:33.534Z] ---> Running in 7b00b5f951cb [2022-06-17T12:02:33.534Z] Removing intermediate container 7b00b5f951cb [2022-06-17T12:02:33.534Z] ---> e7356070ac62 [2022-06-17T12:02:33.534Z] Step 28/29 : LABEL git_sha=e47f6a79ca27e04405bb922829f38199b6706fee [2022-06-17T12:02:33.794Z] ---> Running in 825dd6a782fe [2022-06-17T12:02:33.794Z] Removing intermediate container 825dd6a782fe [2022-06-17T12:02:33.794Z] ---> 65d700d39aae [2022-06-17T12:02:33.794Z] Step 29/29 : LABEL version=0.0.0 [2022-06-17T12:02:33.794Z] ---> Running in b5416f34ebf6 [2022-06-17T12:02:34.056Z] Removing intermediate container b5416f34ebf6 [2022-06-17T12:02:34.056Z] ---> cb3d0dc35878 [2022-06-17T12:02:34.056Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T12:02:34.056Z] Successfully built cb3d0dc35878 [2022-06-17T12:02:34.056Z] 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-06-17T12:02:34.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T12:02:34.959Z] [2022-06-17T12:02:34.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:02:35.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T12:02:35.321Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T12:02:35.321Z] 5eb5b503b376: Pulling fs layer [2022-06-17T12:02:35.321Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T12:02:35.321Z] ec43610c2a17: Pulling fs layer [2022-06-17T12:02:35.321Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T12:02:35.321Z] 33b1e0a273af: Pulling fs layer [2022-06-17T12:02:35.321Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T12:02:35.321Z] 2f39f015ded8: Pulling fs layer [2022-06-17T12:02:35.321Z] 2f39f015ded8: Waiting [2022-06-17T12:02:35.321Z] 33b1e0a273af: Waiting [2022-06-17T12:02:35.321Z] 5d3b04190fa2: Waiting [2022-06-17T12:02:35.321Z] 5c69ac0246d0: Download complete [2022-06-17T12:02:35.321Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T12:02:35.321Z] 3a2ae6a8a46f: Download complete [2022-06-17T12:02:35.321Z] 33b1e0a273af: Verifying Checksum [2022-06-17T12:02:35.321Z] 33b1e0a273af: Download complete [2022-06-17T12:02:35.321Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T12:02:35.321Z] 5d3b04190fa2: Download complete [2022-06-17T12:02:35.582Z] ec43610c2a17: Download complete [2022-06-17T12:02:35.582Z] 5eb5b503b376: Verifying Checksum [2022-06-17T12:02:35.582Z] 5eb5b503b376: Download complete [2022-06-17T12:02:36.149Z] 2f39f015ded8: Download complete [2022-06-17T12:02:36.717Z] 5eb5b503b376: Pull complete [2022-06-17T12:02:36.976Z] 5c69ac0246d0: Pull complete [2022-06-17T12:02:37.546Z] ec43610c2a17: Pull complete [2022-06-17T12:02:37.546Z] 3a2ae6a8a46f: Pull complete [2022-06-17T12:02:37.806Z] 33b1e0a273af: Pull complete [2022-06-17T12:02:37.806Z] 5d3b04190fa2: Pull complete [2022-06-17T12:02:42.000Z] 2f39f015ded8: Pull complete [2022-06-17T12:02:42.000Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T12:02:42.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T12:02:42.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:02:42.223Z] prd-ubuntu20.04-docker-8c-8g-2575 does not seem to be running inside a container [2022-06-17T12:02:42.291Z] $ 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-42 -v /w/workspace/xfoundry_device-usb-camera_PR-42:/w/workspace/xfoundry_device-usb-camera_PR-42:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-42@tmp:/w/workspace/xfoundry_device-usb-camera_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T12:02:44.439Z] $ docker top cb3c3c3572944fd8fe3432493a1c7e7d28cb60ebc4f7299120ad81d563a597b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:02:44.881Z] ---> job-cost.sh [2022-06-17T12:02:44.881Z] lf-activate-venv: SKIPPING [2022-06-17T12:02:44.881Z] INFO: No Stack... [2022-06-17T12:02:45.141Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T12:02:45.710Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T12:02:46.029Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-42/archives/cost.csv [2022-06-17T12:02:46.029Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T12:02:46.065Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-42-1-stack-cost] [2022-06-17T12:02:46.069Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-42-1-stack-cost] did not exist. Created. [2022-06-17T12:02:46.069Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-42-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T12:02:46.467Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T12:02:46.518Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T12:02:46.546Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-42-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T12:02:46.629Z] $ docker stop --time=1 cb3c3c3572944fd8fe3432493a1c7e7d28cb60ebc4f7299120ad81d563a597b0 [2022-06-17T12:02:47.830Z] $ docker rm -f cb3c3c3572944fd8fe3432493a1c7e7d28cb60ebc4f7299120ad81d563a597b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T12:04:20.983Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2576 in /w/workspace/xfoundry_device-usb-camera_PR-42 [Pipeline] { [Pipeline] ws [2022-06-17T12:04:21.021Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-17T12:04:21.531Z] Selected Git installation does not exist. Using Default [2022-06-17T12:04:21.531Z] The recommended git tool is: NONE [2022-06-17T12:04:28.415Z] using credential edgex-jenkins-ssh [2022-06-17T12:04:28.433Z] Cloning the remote Git repository [2022-06-17T12:04:28.548Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-06-17T12:04:28.659Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-06-17T12:04:28.764Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-17T12:04:28.765Z] > git --version # timeout=10 [2022-06-17T12:04:28.811Z] > git --version # 'git version 2.25.1' [2022-06-17T12:04:28.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T12:04:29.030Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T12:04:30.499Z] Merging remotes/origin/main commit 455d5982027557f38f4688dafc55c743213ab3fb into PR head commit e47f6a79ca27e04405bb922829f38199b6706fee [2022-06-17T12:04:30.734Z] Merge succeeded, producing e47f6a79ca27e04405bb922829f38199b6706fee [2022-06-17T12:04:30.734Z] Checking out Revision e47f6a79ca27e04405bb922829f38199b6706fee (PR-42) [2022-06-17T12:04:29.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-17T12:04:29.805Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T12:04:29.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-17T12:04:29.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-17T12:04:29.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T12:04:30.016Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T12:04:30.525Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T12:04:30.547Z] > git checkout -f e47f6a79ca27e04405bb922829f38199b6706fee # timeout=10 [2022-06-17T12:04:30.638Z] > git remote # timeout=10 [2022-06-17T12:04:30.657Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T12:04:30.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T12:04:30.688Z] > git merge 455d5982027557f38f4688dafc55c743213ab3fb # timeout=10 [2022-06-17T12:04:30.715Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T12:04:30.748Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T12:04:30.764Z] > git checkout -f e47f6a79ca27e04405bb922829f38199b6706fee # timeout=10 [2022-06-17T12:04:35.044Z] Commit message: "build: Upgrade sdk and paho.mqtt lib" [2022-06-17T12:04:35.114Z] > git --version # timeout=10 [2022-06-17T12:04:35.131Z] > git --version # 'git version 2.25.1' [2022-06-17T12:04:35.150Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T12:04:36.260Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T12:04:36.260Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T12:04:36.260Z] Dload Upload Total Spent Left Speed [2022-06-17T12:04:36.260Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 66956 0 --:--:-- --:--:-- --:--:-- 66956 [Pipeline] sh [2022-06-17T12:04:37.122Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T12:04:37.478Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T12:04:37.479Z] + sudo tee /etc/docker/daemon.new [2022-06-17T12:04:37.479Z] { [2022-06-17T12:04:37.479Z] "registry-mirrors": [ [2022-06-17T12:04:37.479Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T12:04:37.479Z] ], [2022-06-17T12:04:37.479Z] "bip": "10.250.0.254/24", [2022-06-17T12:04:37.479Z] "hosts": [ [2022-06-17T12:04:37.479Z] "tcp://0.0.0.0:5555", [2022-06-17T12:04:37.479Z] "unix:///var/run/docker.sock" [2022-06-17T12:04:37.479Z] ], [2022-06-17T12:04:37.479Z] "mtu": 1458, [2022-06-17T12:04:37.479Z] "selinux-enabled": true, [2022-06-17T12:04:37.479Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T12:04:37.479Z] } [Pipeline] sh [2022-06-17T12:04:37.834Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T12:04:38.192Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T12:04:56.762Z] provisioning config files... [2022-06-17T12:04:56.786Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config2613119023478942670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:04:57.179Z] ---> docker-login.sh [2022-06-17T12:04:57.179Z] nexus3.edgexfoundry.org:10001 [2022-06-17T12:04:57.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:04:58.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:04:58.050Z] Configure a credential helper to remove this warning. See [2022-06-17T12:04:58.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:04:58.050Z] [2022-06-17T12:04:58.050Z] Login Succeeded [2022-06-17T12:04:58.050Z] nexus3.edgexfoundry.org:10002 [2022-06-17T12:04:58.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:04:58.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:04:58.597Z] Configure a credential helper to remove this warning. See [2022-06-17T12:04:58.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:04:58.597Z] [2022-06-17T12:04:58.597Z] Login Succeeded [2022-06-17T12:04:58.597Z] nexus3.edgexfoundry.org:10003 [2022-06-17T12:04:58.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:04:58.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:04:58.875Z] Configure a credential helper to remove this warning. See [2022-06-17T12:04:58.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:04:58.875Z] [2022-06-17T12:04:58.875Z] Login Succeeded [2022-06-17T12:04:58.875Z] nexus3.edgexfoundry.org:10004 [2022-06-17T12:04:59.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:04:59.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:04:59.477Z] Configure a credential helper to remove this warning. See [2022-06-17T12:04:59.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:04:59.477Z] [2022-06-17T12:04:59.477Z] Login Succeeded [2022-06-17T12:04:59.477Z] docker.io [2022-06-17T12:04:59.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T12:05:00.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T12:05:00.353Z] Configure a credential helper to remove this warning. See [2022-06-17T12:05:00.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T12:05:00.353Z] [2022-06-17T12:05:00.353Z] Login Succeeded [2022-06-17T12:05:00.353Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T12:05:00.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T12:05:00.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T12:05:00.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T12:05:00.866Z] ========================================================= [2022-06-17T12:05:00.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T12:05:00.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:05:01.376Z] + 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-06-17T12:05:01.655Z] Sending build context to Docker daemon 442.4kB [2022-06-17T12:05:01.655Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T12:05:01.655Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T12:05:01.941Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T12:05:01.942Z] 9b3977197b4f: Pulling fs layer [2022-06-17T12:05:01.942Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T12:05:01.942Z] 94645a83ff95: Pulling fs layer [2022-06-17T12:05:01.942Z] e6fb740bc735: Pulling fs layer [2022-06-17T12:05:01.942Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T12:05:01.942Z] 355e64cbe906: Pulling fs layer [2022-06-17T12:05:01.942Z] 63ab81a10011: Pulling fs layer [2022-06-17T12:05:01.942Z] 555d1d1c4555: Pulling fs layer [2022-06-17T12:05:01.942Z] 7d9057610161: Pulling fs layer [2022-06-17T12:05:01.942Z] 355e64cbe906: Waiting [2022-06-17T12:05:01.942Z] 63ab81a10011: Waiting [2022-06-17T12:05:01.942Z] 555d1d1c4555: Waiting [2022-06-17T12:05:01.942Z] 7d9057610161: Waiting [2022-06-17T12:05:01.942Z] e6fb740bc735: Waiting [2022-06-17T12:05:01.942Z] 3a77bd46dcc9: Waiting [2022-06-17T12:05:01.942Z] 94645a83ff95: Verifying Checksum [2022-06-17T12:05:01.942Z] 94645a83ff95: Download complete [2022-06-17T12:05:01.942Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T12:05:01.942Z] 1a89e8eeedd5: Download complete [2022-06-17T12:05:01.942Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T12:05:01.942Z] 3a77bd46dcc9: Download complete [2022-06-17T12:05:01.942Z] 355e64cbe906: Verifying Checksum [2022-06-17T12:05:01.942Z] 355e64cbe906: Download complete [2022-06-17T12:05:01.942Z] 63ab81a10011: Verifying Checksum [2022-06-17T12:05:01.942Z] 63ab81a10011: Download complete [2022-06-17T12:05:01.942Z] 9b3977197b4f: Verifying Checksum [2022-06-17T12:05:01.942Z] 9b3977197b4f: Download complete [2022-06-17T12:05:02.936Z] 9b3977197b4f: Pull complete [2022-06-17T12:05:02.936Z] 7d9057610161: Verifying Checksum [2022-06-17T12:05:02.936Z] 7d9057610161: Download complete [2022-06-17T12:05:03.539Z] 1a89e8eeedd5: Pull complete [2022-06-17T12:05:03.818Z] 94645a83ff95: Pull complete [2022-06-17T12:05:04.092Z] 555d1d1c4555: Download complete [2022-06-17T12:05:04.687Z] e6fb740bc735: Verifying Checksum [2022-06-17T12:05:04.687Z] e6fb740bc735: Download complete [2022-06-17T12:05:17.093Z] e6fb740bc735: Pull complete [2022-06-17T12:05:17.093Z] 3a77bd46dcc9: Pull complete [2022-06-17T12:05:17.093Z] 355e64cbe906: Pull complete [2022-06-17T12:05:17.093Z] 63ab81a10011: Pull complete [2022-06-17T12:05:23.821Z] 555d1d1c4555: Pull complete [2022-06-17T12:05:25.257Z] 7d9057610161: Pull complete [2022-06-17T12:05:25.257Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T12:05:25.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T12:05:25.257Z] ---> 819e984ddca1 [2022-06-17T12:05:25.257Z] Step 3/12 : ARG MAKE="make build" [2022-06-17T12:05:26.695Z] ---> Running in 7d481628bebe [2022-06-17T12:05:26.974Z] Removing intermediate container 7d481628bebe [2022-06-17T12:05:26.974Z] ---> 036979ca51d6 [2022-06-17T12:05:26.974Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T12:05:27.247Z] ---> Running in 287310d66a45 [2022-06-17T12:05:27.522Z] Removing intermediate container 287310d66a45 [2022-06-17T12:05:27.522Z] ---> ef712bc8296f [2022-06-17T12:05:27.522Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-17T12:05:27.522Z] ---> Running in 654ceeced4fb [2022-06-17T12:05:27.802Z] Removing intermediate container 654ceeced4fb [2022-06-17T12:05:27.802Z] ---> e983f4d685ee [2022-06-17T12:05:27.802Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T12:05:28.080Z] ---> Running in 5afda66f5c58 [2022-06-17T12:05:30.057Z] Removing intermediate container 5afda66f5c58 [2022-06-17T12:05:30.057Z] ---> ea053bb90819 [2022-06-17T12:05:30.057Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T12:05:30.057Z] ---> Running in 87fa4a349bf8 [2022-06-17T12:05:30.653Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T12:05:31.642Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T12:05:32.627Z] (1/14) Installing libintl (0.21-r0) [2022-06-17T12:05:32.627Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-17T12:05:32.914Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-06-17T12:05:32.914Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-06-17T12:05:32.914Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-06-17T12:05:33.193Z] (6/14) Installing udev-init-scripts (35-r0) [2022-06-17T12:05:33.193Z] Executing udev-init-scripts-35-r0.post-install [2022-06-17T12:05:33.467Z] (7/14) Installing libblkid (2.37.4-r0) [2022-06-17T12:05:33.467Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-06-17T12:05:33.467Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-06-17T12:05:33.739Z] (10/14) Installing kmod-libs (29-r2) [2022-06-17T12:05:33.740Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-06-17T12:05:33.740Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-17T12:05:34.016Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-17T12:05:34.016Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-06-17T12:05:34.293Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T12:05:34.293Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-17T12:05:34.293Z] OK: 228 MiB in 66 packages [2022-06-17T12:05:35.286Z] Removing intermediate container 87fa4a349bf8 [2022-06-17T12:05:35.286Z] ---> 3206492222aa [2022-06-17T12:05:35.286Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-17T12:05:35.565Z] ---> Running in 84c864fa2149 [2022-06-17T12:05:35.842Z] Removing intermediate container 84c864fa2149 [2022-06-17T12:05:35.842Z] ---> 9ada4cb28c51 [2022-06-17T12:05:35.842Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-17T12:05:36.442Z] ---> c037fcb62f3d [2022-06-17T12:05:36.442Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T12:05:36.442Z] ---> Running in 5a7f615ead6c [2022-06-17T12:06:23.472Z] Removing intermediate container 5a7f615ead6c [2022-06-17T12:06:23.472Z] ---> 703e808b0374 [2022-06-17T12:06:23.472Z] Step 11/12 : COPY . . [2022-06-17T12:06:24.457Z] ---> e5e0781d4354 [2022-06-17T12:06:24.457Z] Step 12/12 : RUN ${MAKE} [2022-06-17T12:06:24.457Z] ---> Running in d84bfbedc76c [2022-06-17T12:06:25.442Z] noop [2022-06-17T12:06:26.039Z] Removing intermediate container d84bfbedc76c [2022-06-17T12:06:26.039Z] ---> 4d743945bdff [2022-06-17T12:06:26.039Z] Successfully built 4d743945bdff [2022-06-17T12:06:26.039Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:06:26.518Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T12:06:26.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:06:26.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-2576 does not seem to be running inside a container [2022-06-17T12:06:26.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2022-06-17T12:06:28.153Z] $ docker top fb9d6cdbe6bb37be13d26d2a551dd8cc1d1fab353bdf32b36c20a22ca80bba39 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T12:06:29.097Z] + go version [2022-06-17T12:06:29.097Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T12:06:29.138Z] $ docker stop --time=1 fb9d6cdbe6bb37be13d26d2a551dd8cc1d1fab353bdf32b36c20a22ca80bba39 [2022-06-17T12:06:30.801Z] $ docker rm -f fb9d6cdbe6bb37be13d26d2a551dd8cc1d1fab353bdf32b36c20a22ca80bba39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:06:31.685Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T12:06:31.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:06:31.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-2576 does not seem to be running inside a container [2022-06-17T12:06:32.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2022-06-17T12:06:33.284Z] $ docker top 2ac65d53e6c7c702c014a9524d0f548996f8a1d37d5f788ff8d03f739af76244 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T12:06:34.255Z] + make test [2022-06-17T12:06:34.255Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-17T12:06:35.718Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-17T12:07:57.567Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-17T12:07:57.568Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-17T12:07:57.568Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T12:07:57.568Z] CGO_ENABLED=1 go vet ./... [2022-06-17T12:08:19.759Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T12:08:19.759Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T12:08:19.759Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T12:08:21.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T12:08:21.879Z] $ docker stop --time=1 2ac65d53e6c7c702c014a9524d0f548996f8a1d37d5f788ff8d03f739af76244 [2022-06-17T12:08:23.663Z] $ docker rm -f 2ac65d53e6c7c702c014a9524d0f548996f8a1d37d5f788ff8d03f739af76244 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T12:08:24.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T12:08:24.683Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T12:08:25.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T12:08:25.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T12:08:26.085Z] + ls -al . [2022-06-17T12:08:26.085Z] total 160 [2022-06-17T12:08:26.085Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 12:08 . [2022-06-17T12:08:26.085Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 12:04 .. [2022-06-17T12:08:26.085Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 12:04 .git [2022-06-17T12:08:26.085Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 12:04 .github [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 349 Jun 17 12:04 .gitignore [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 12:04 .golangci.yml [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 17 12:04 .hadolint.yml [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 8834 Jun 17 12:04 Attribution.txt [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 17 12:04 CHANGELOG.md [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 17 12:04 Dockerfile [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 17 12:04 GOVERNANCE.md [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 17 12:04 Jenkinsfile [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 12:04 LICENSE [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 17 12:04 Makefile [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 17 12:04 OWNERS.md [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 17 12:04 README.md [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 12:00 VERSION [2022-06-17T12:08:26.085Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 12:04 bin [2022-06-17T12:08:26.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 12:04 cmd [2022-06-17T12:08:26.085Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 17 12:06 coverage.out [2022-06-17T12:08:26.085Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 12:04 docker-compose [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 12:04 docker-entrypoint.sh [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 3357 Jun 17 12:04 go.mod [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 36325 Jun 17 12:04 go.sum [2022-06-17T12:08:26.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 12:04 internal [2022-06-17T12:08:26.085Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 17 12:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:08:26.534Z] + 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=e47f6a79ca27e04405bb922829f38199b6706fee --label arch=arm64 --label version=0.0.0 . [2022-06-17T12:08:26.812Z] Sending build context to Docker daemon 443.4kB [2022-06-17T12:08:26.812Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T12:08:26.812Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-17T12:08:26.812Z] ---> 4d743945bdff [2022-06-17T12:08:26.812Z] Step 3/29 : ARG MAKE="make build" [2022-06-17T12:08:27.086Z] ---> Running in 42e9785adb13 [2022-06-17T12:08:27.358Z] Removing intermediate container 42e9785adb13 [2022-06-17T12:08:27.358Z] ---> 6c90f91e1464 [2022-06-17T12:08:27.358Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T12:08:27.358Z] ---> Running in d7a6dc5c4403 [2022-06-17T12:08:27.633Z] Removing intermediate container d7a6dc5c4403 [2022-06-17T12:08:27.633Z] ---> 219b26394625 [2022-06-17T12:08:27.633Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-17T12:08:27.633Z] ---> Running in 0a11633e1601 [2022-06-17T12:08:27.909Z] Removing intermediate container 0a11633e1601 [2022-06-17T12:08:27.909Z] ---> b6125a08884e [2022-06-17T12:08:27.909Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T12:08:28.188Z] ---> Running in eee7d93b9132 [2022-06-17T12:08:29.645Z] Removing intermediate container eee7d93b9132 [2022-06-17T12:08:29.645Z] ---> c8d158e429be [2022-06-17T12:08:29.645Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T12:08:29.920Z] ---> Running in 4b07121aeac8 [2022-06-17T12:08:30.904Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T12:08:31.505Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T12:08:32.492Z] OK: 228 MiB in 66 packages [2022-06-17T12:08:33.097Z] Removing intermediate container 4b07121aeac8 [2022-06-17T12:08:33.097Z] ---> 8bc9d6c8e4ad [2022-06-17T12:08:33.097Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-17T12:08:33.375Z] ---> Running in 040fc3eb8184 [2022-06-17T12:08:33.651Z] Removing intermediate container 040fc3eb8184 [2022-06-17T12:08:33.651Z] ---> 0d8a377cfd86 [2022-06-17T12:08:33.651Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-17T12:08:34.251Z] ---> 095acdd1a489 [2022-06-17T12:08:34.251Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T12:08:34.251Z] ---> Running in a9a0b5eb0015 [2022-06-17T12:08:36.249Z] Removing intermediate container a9a0b5eb0015 [2022-06-17T12:08:36.249Z] ---> 55c71b44ec89 [2022-06-17T12:08:36.249Z] Step 11/29 : COPY . . [2022-06-17T12:08:36.855Z] ---> e66a5a96bb6e [2022-06-17T12:08:36.855Z] Step 12/29 : RUN ${MAKE} [2022-06-17T12:08:36.855Z] ---> Running in 0d93eb6d5cef [2022-06-17T12:08:37.841Z] 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.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-06-17T12:10:44.747Z] Removing intermediate container 0d93eb6d5cef [2022-06-17T12:10:44.747Z] ---> 642cbacd8a00 [2022-06-17T12:10:44.748Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-17T12:10:44.748Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-17T12:10:44.748Z] eab2503cf8f4: Pulling fs layer [2022-06-17T12:10:44.748Z] 97cd0a44c592: Pulling fs layer [2022-06-17T12:10:44.748Z] 97cd0a44c592: Verifying Checksum [2022-06-17T12:10:44.748Z] 97cd0a44c592: Download complete [2022-06-17T12:10:44.748Z] eab2503cf8f4: Verifying Checksum [2022-06-17T12:10:44.748Z] eab2503cf8f4: Download complete [2022-06-17T12:10:44.748Z] eab2503cf8f4: Pull complete [2022-06-17T12:10:44.748Z] 97cd0a44c592: Pull complete [2022-06-17T12:10:44.748Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-17T12:10:44.748Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-17T12:10:44.748Z] ---> 7f763cca56b3 [2022-06-17T12:10:44.748Z] Step 14/29 : FROM alpine:3.15 [2022-06-17T12:10:44.748Z] 3.15: Pulling from library/alpine [2022-06-17T12:10:44.748Z] 9981e73032c8: Pulling fs layer [2022-06-17T12:10:44.748Z] 9981e73032c8: Verifying Checksum [2022-06-17T12:10:44.748Z] 9981e73032c8: Download complete [2022-06-17T12:10:44.748Z] 9981e73032c8: Pull complete [2022-06-17T12:10:44.748Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T12:10:44.748Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T12:10:44.748Z] ---> 3fb3c9af89a9 [2022-06-17T12:10:44.748Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T12:10:44.748Z] ---> Running in 53315138229c [2022-06-17T12:10:44.748Z] Removing intermediate container 53315138229c [2022-06-17T12:10:44.748Z] ---> b6b69d3b1c7a [2022-06-17T12:10:44.748Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-17T12:10:44.748Z] ---> Running in 8897b7f2339c [2022-06-17T12:10:44.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T12:10:44.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T12:10:44.748Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-06-17T12:10:44.748Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-06-17T12:10:44.748Z] (3/73) Installing libxau (1.0.9-r0) [2022-06-17T12:10:44.748Z] (4/73) Installing libmd (1.0.3-r0) [2022-06-17T12:10:44.748Z] (5/73) Installing libbsd (0.11.3-r1) [2022-06-17T12:10:44.748Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-06-17T12:10:44.748Z] (7/73) Installing libxcb (1.14-r2) [2022-06-17T12:10:44.748Z] (8/73) Installing libx11 (1.7.2-r0) [2022-06-17T12:10:44.748Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-06-17T12:10:44.748Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-06-17T12:10:44.748Z] (11/73) Installing expat (2.4.7-r0) [2022-06-17T12:10:44.748Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-06-17T12:10:44.748Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-06-17T12:10:44.748Z] (14/73) Installing libpng (1.6.37-r1) [2022-06-17T12:10:44.748Z] (15/73) Installing freetype (2.11.1-r2) [2022-06-17T12:10:44.748Z] (16/73) Installing libuuid (2.37.4-r0) [2022-06-17T12:10:44.748Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-06-17T12:10:44.748Z] (18/73) Installing fribidi (1.0.11-r0) [2022-06-17T12:10:44.748Z] (19/73) Installing libffi (3.4.2-r1) [2022-06-17T12:10:44.748Z] (20/73) Installing libintl (0.21-r0) [2022-06-17T12:10:44.748Z] (21/73) Installing libblkid (2.37.4-r0) [2022-06-17T12:10:44.748Z] (22/73) Installing libmount (2.37.4-r0) [2022-06-17T12:10:44.748Z] (23/73) Installing pcre (8.45-r1) [2022-06-17T12:10:44.748Z] (24/73) Installing glib (2.70.1-r0) [2022-06-17T12:10:44.748Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-06-17T12:10:44.748Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-06-17T12:10:44.748Z] (27/73) Installing libass (0.15.2-r0) [2022-06-17T12:10:44.748Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-06-17T12:10:44.748Z] (29/73) Installing gmp (6.2.1-r1) [2022-06-17T12:10:44.748Z] (30/73) Installing nettle (3.7.3-r0) [2022-06-17T12:10:44.748Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-06-17T12:10:44.748Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-06-17T12:10:44.748Z] (33/73) Installing libunistring (0.9.10-r1) [2022-06-17T12:10:44.748Z] (34/73) Installing gnutls (3.7.1-r0) [2022-06-17T12:10:44.748Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-17T12:10:44.748Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-17T12:10:44.748Z] (37/73) Installing lame (3.100-r0) [2022-06-17T12:10:44.748Z] (38/73) Installing opus (1.3.1-r1) [2022-06-17T12:10:44.748Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-06-17T12:10:44.748Z] (40/73) Installing soxr (0.1.3-r2) [2022-06-17T12:10:44.748Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T12:10:44.748Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T12:10:44.748Z] (43/73) Installing libsrt (1.4.2-r1) [2022-06-17T12:10:44.748Z] (44/73) Installing libssh (0.9.6-r1) [2022-06-17T12:10:44.748Z] (45/73) Installing libogg (1.3.5-r0) [2022-06-17T12:10:44.748Z] (46/73) Installing libtheora (1.1.1-r16) [2022-06-17T12:10:44.748Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-06-17T12:10:44.748Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-06-17T12:10:44.748Z] (49/73) Installing libxext (1.3.4-r0) [2022-06-17T12:10:44.748Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-06-17T12:10:44.748Z] (51/73) Installing libdrm (2.4.109-r0) [2022-06-17T12:10:44.748Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-06-17T12:10:44.748Z] (53/73) Installing libva (2.13.0-r0) [2022-06-17T12:10:44.748Z] (54/73) Installing libvdpau (1.4-r0) [2022-06-17T12:10:44.748Z] (55/73) Installing vidstab (1.1.0-r1) [2022-06-17T12:10:44.748Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-06-17T12:10:44.748Z] (57/73) Installing libvpx (1.10.0-r0) [2022-06-17T12:10:44.748Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-06-17T12:10:44.748Z] (59/73) Installing libwebp (1.2.2-r0) [2022-06-17T12:10:44.748Z] (60/73) Installing x264-libs (20210613-r0) [2022-06-17T12:10:44.748Z] (61/73) Installing x265-libs (3.5-r0) [2022-06-17T12:10:44.748Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-06-17T12:10:44.748Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-06-17T12:10:44.748Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-06-17T12:10:44.748Z] (65/73) Installing udev-init-scripts (35-r0) [2022-06-17T12:10:44.748Z] Executing udev-init-scripts-35-r0.post-install [2022-06-17T12:10:44.748Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-17T12:10:44.748Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-06-17T12:10:44.748Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-06-17T12:10:44.748Z] (69/73) Installing kmod-libs (29-r2) [2022-06-17T12:10:44.748Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-06-17T12:10:44.748Z] (71/73) Installing libsodium (1.0.18-r0) [2022-06-17T12:10:44.748Z] (72/73) Installing libzmq (4.3.4-r0) [2022-06-17T12:10:44.748Z] (73/73) Installing zeromq (4.3.4-r0) [2022-06-17T12:10:44.748Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T12:10:44.748Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-17T12:10:44.748Z] OK: 67 MiB in 87 packages [2022-06-17T12:10:45.342Z] Removing intermediate container 8897b7f2339c [2022-06-17T12:10:45.342Z] ---> dbe590ab4d09 [2022-06-17T12:10:45.342Z] Step 17/29 : WORKDIR / [2022-06-17T12:10:45.342Z] ---> Running in 29415d352985 [2022-06-17T12:10:45.618Z] Removing intermediate container 29415d352985 [2022-06-17T12:10:45.618Z] ---> 462cb389555b [2022-06-17T12:10:45.618Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-17T12:10:47.597Z] ---> 96ed91af8640 [2022-06-17T12:10:47.597Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-17T12:10:47.872Z] ---> 0e6378709208 [2022-06-17T12:10:47.872Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-17T12:10:48.470Z] ---> 9c9af9f348dc [2022-06-17T12:10:48.470Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-17T12:10:49.070Z] ---> 4b13e0e4545a [2022-06-17T12:10:49.070Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-17T12:10:49.671Z] ---> f6af9e5e7653 [2022-06-17T12:10:49.671Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-17T12:10:50.660Z] ---> debc59072bf4 [2022-06-17T12:10:50.660Z] Step 24/29 : EXPOSE 59983 [2022-06-17T12:10:50.934Z] ---> Running in 018cf7670025 [2022-06-17T12:10:51.208Z] Removing intermediate container 018cf7670025 [2022-06-17T12:10:51.208Z] ---> 7d4b786f7473 [2022-06-17T12:10:51.208Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-17T12:10:51.208Z] ---> Running in 722d8eb7441c [2022-06-17T12:10:51.483Z] Removing intermediate container 722d8eb7441c [2022-06-17T12:10:51.483Z] ---> 45cbf65bbb8f [2022-06-17T12:10:51.483Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-17T12:10:51.483Z] ---> Running in 0aff09d5729b [2022-06-17T12:10:51.764Z] Removing intermediate container 0aff09d5729b [2022-06-17T12:10:51.764Z] ---> 64b9de4b7d3c [2022-06-17T12:10:51.764Z] Step 27/29 : LABEL arch=arm64 [2022-06-17T12:10:52.040Z] ---> Running in 6a59d6ee9686 [2022-06-17T12:10:52.316Z] Removing intermediate container 6a59d6ee9686 [2022-06-17T12:10:52.316Z] ---> 6efbb501e20a [2022-06-17T12:10:52.316Z] Step 28/29 : LABEL git_sha=e47f6a79ca27e04405bb922829f38199b6706fee [2022-06-17T12:10:52.316Z] ---> Running in cf5d85ec1b19 [2022-06-17T12:10:52.591Z] Removing intermediate container cf5d85ec1b19 [2022-06-17T12:10:52.591Z] ---> 386e75f207d5 [2022-06-17T12:10:52.591Z] Step 29/29 : LABEL version=0.0.0 [2022-06-17T12:10:52.591Z] ---> Running in b9413b95a1db [2022-06-17T12:10:52.867Z] Removing intermediate container b9413b95a1db [2022-06-17T12:10:52.867Z] ---> 3e22ab7f6f6b [2022-06-17T12:10:52.867Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T12:10:52.867Z] Successfully built 3e22ab7f6f6b [2022-06-17T12:10:52.867Z] 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-06-17T12:10:53.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T12:10:53.650Z] [2022-06-17T12:10:53.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:10:54.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T12:10:54.343Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T12:10:54.343Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T12:10:54.343Z] 04944245beec: Pulling fs layer [2022-06-17T12:10:54.343Z] 699f458cf7ca: Pulling fs layer [2022-06-17T12:10:54.343Z] 765212b225bb: Pulling fs layer [2022-06-17T12:10:54.343Z] f23df028b6ca: Pulling fs layer [2022-06-17T12:10:54.343Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T12:10:54.343Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T12:10:54.343Z] f23df028b6ca: Waiting [2022-06-17T12:10:54.343Z] d65c8cfc05b1: Waiting [2022-06-17T12:10:54.343Z] 765212b225bb: Waiting [2022-06-17T12:10:54.343Z] 2437ff75d9bd: Waiting [2022-06-17T12:10:54.343Z] 04944245beec: Verifying Checksum [2022-06-17T12:10:54.343Z] 04944245beec: Download complete [2022-06-17T12:10:54.343Z] 765212b225bb: Verifying Checksum [2022-06-17T12:10:54.343Z] 765212b225bb: Download complete [2022-06-17T12:10:54.343Z] f23df028b6ca: Download complete [2022-06-17T12:10:54.343Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T12:10:54.343Z] d65c8cfc05b1: Download complete [2022-06-17T12:10:54.629Z] 699f458cf7ca: Verifying Checksum [2022-06-17T12:10:54.629Z] 699f458cf7ca: Download complete [2022-06-17T12:10:54.904Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T12:10:54.904Z] 8998bd30e6a1: Download complete [2022-06-17T12:10:57.539Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T12:10:57.539Z] 2437ff75d9bd: Download complete [2022-06-17T12:10:59.534Z] 8998bd30e6a1: Pull complete [2022-06-17T12:10:59.807Z] 04944245beec: Pull complete [2022-06-17T12:11:01.249Z] 699f458cf7ca: Pull complete [2022-06-17T12:11:01.249Z] 765212b225bb: Pull complete [2022-06-17T12:11:02.245Z] f23df028b6ca: Pull complete [2022-06-17T12:11:02.520Z] d65c8cfc05b1: Pull complete [2022-06-17T12:11:17.636Z] 2437ff75d9bd: Pull complete [2022-06-17T12:11:17.636Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T12:11:17.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T12:11:17.636Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:11:18.034Z] prd-ubuntu20.04-docker-arm64-4c-16g-2576 does not seem to be running inside a container [2022-06-17T12:11:18.132Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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-lftools-log-publisher:arm64 cat [2022-06-17T12:11:20.704Z] $ docker top e6763b7899fb51455b1ab24590e487d291d9810c9223766119929094765d5db3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:11:21.706Z] ---> job-cost.sh [2022-06-17T12:11:21.706Z] lf-activate-venv: SKIPPING [2022-06-17T12:11:21.706Z] INFO: No Stack... [2022-06-17T12:11:23.136Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T12:11:24.113Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T12:11:24.794Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-06-17T12:11:24.794Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T12:11:24.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-42-1-stack-cost] [2022-06-17T12:11:24.878Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-42-1-stack-cost] did not exist. Created. [2022-06-17T12:11:24.878Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-42-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T12:11:25.624Z] /w/workspace/device-usb-camera/1@tmp/durable-e31db447/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T12:11:26.331Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T12:11:26.389Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T12:11:26.431Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T12:11:26.447Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-42-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T12:11:26.531Z] $ docker stop --time=1 e6763b7899fb51455b1ab24590e487d291d9810c9223766119929094765d5db3 [2022-06-17T12:11:28.036Z] $ docker rm -f e6763b7899fb51455b1ab24590e487d291d9810c9223766119929094765d5db3 [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-06-17T12:11:29.122Z] provisioning config files... [2022-06-17T12:11:29.132Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-42@tmp/config3266360975716118763tmp [Pipeline] { [Pipeline] sh [2022-06-17T12:11:29.467Z] + set +x [2022-06-17T12:11:29.467Z] + curl -s https://codecov.io/bash [2022-06-17T12:11:29.467Z] + bash -s -- [2022-06-17T12:11:29.467Z] [2022-06-17T12:11:29.467Z] _____ _ [2022-06-17T12:11:29.467Z] / ____| | | [2022-06-17T12:11:29.467Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T12:11:29.467Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T12:11:29.467Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T12:11:29.467Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T12:11:29.467Z] Bash-1.0.6 [2022-06-17T12:11:29.467Z] [2022-06-17T12:11:29.467Z] [2022-06-17T12:11:29.467Z] ==> git version 2.25.1 found [2022-06-17T12:11:29.467Z] ==> 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-06-17T12:11:29.467Z] Release-Date: 2020-01-08 [2022-06-17T12:11:29.467Z] 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-06-17T12:11:29.467Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T12:11:29.467Z] ==> Jenkins CI detected. [2022-06-17T12:11:29.467Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-42 [2022-06-17T12:11:29.467Z] project root: . [2022-06-17T12:11:29.467Z] --> token set from env [2022-06-17T12:11:29.467Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T12:11:29.467Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T12:11:29.467Z] ==> Python coveragepy not found [2022-06-17T12:11:29.467Z] ==> Searching for coverage reports in: [2022-06-17T12:11:29.467Z] + . [2022-06-17T12:11:29.467Z] -> Found 1 reports [2022-06-17T12:11:29.467Z] ==> Detecting git/mercurial file structure [2022-06-17T12:11:29.467Z] ==> Reading reports [2022-06-17T12:11:29.467Z] + ./coverage.out bytes=10 [2022-06-17T12:11:29.467Z] ==> Appending adjustments [2022-06-17T12:11:29.467Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T12:11:29.729Z] + Found adjustments [2022-06-17T12:11:29.729Z] ==> Gzipping contents [2022-06-17T12:11:29.729Z] 4.0K /tmp/codecov.8ENdHL.gz [2022-06-17T12:11:29.729Z] ==> Uploading reports [2022-06-17T12:11:29.729Z] url: https://codecov.io [2022-06-17T12:11:29.729Z] query: branch=PR-42&commit=e47f6a79ca27e04405bb922829f38199b6706fee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-42%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=42&job=&cmd_args= [2022-06-17T12:11:29.729Z] -> Pinging Codecov [2022-06-17T12:11:29.729Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-42&commit=e47f6a79ca27e04405bb922829f38199b6706fee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-42%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=42&job=&cmd_args= [2022-06-17T12:11:29.991Z] -> Uploading to [2022-06-17T12:11:29.991Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/73D8F5FF140700D3E01443B452E23636/e47f6a79ca27e04405bb922829f38199b6706fee/0e98dd25-e596-4d1b-8364-01774fe29621.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T121129Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=999e5caead661c3169995513b3185dd5e0927e85446a11d2fa356b9fa4ca65b6 [2022-06-17T12:11:29.991Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T12:11:29.991Z] Dload Upload Total Spent Left Speed [2022-06-17T12:11:30.252Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1019 0 0 100 1019 0 4193 --:--:-- --:--:-- --:--:-- 4210 [2022-06-17T12:11:30.252Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/e47f6a79ca27e04405bb922829f38199b6706fee [Pipeline] } [2022-06-17T12:11:30.280Z] 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-06-17T12:11:32.047Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-42/archives ] [2022-06-17T12:11:32.047Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-42/archives [2022-06-17T12:11:32.047Z] total 16 [2022-06-17T12:11:32.047Z] drwxr-xr-x 3 root root 4096 Jun 17 12:02 . [2022-06-17T12:11:32.047Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 12:02 .. [2022-06-17T12:11:32.047Z] drwxr-xr-x 2 root root 4096 Jun 17 12:02 cost [2022-06-17T12:11:32.047Z] -rw-r--r-- 1 root root 87 Jun 17 12:02 cost.csv [2022-06-17T12:11:32.047Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-42/archives [2022-06-17T12:11:32.048Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-42/archives [2022-06-17T12:11:32.048Z] total 16 [2022-06-17T12:11:32.048Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 12:02 . [2022-06-17T12:11:32.048Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 12:02 .. [2022-06-17T12:11:32.048Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 12:02 cost [2022-06-17T12:11:32.048Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 17 12:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:11:32.374Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:11:33.272Z] ---> package-listing.sh [2022-06-17T12:11:33.272Z] ++ facter osfamily [2022-06-17T12:11:33.272Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T12:11:33.532Z] + OS_FAMILY=debian [2022-06-17T12:11:33.532Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-42 [2022-06-17T12:11:33.532Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T12:11:33.532Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T12:11:33.532Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T12:11:33.532Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T12:11:33.532Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-42 ']' [2022-06-17T12:11:33.532Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T12:11:33.532Z] + case "${OS_FAMILY}" in [2022-06-17T12:11:33.532Z] + dpkg -l [2022-06-17T12:11:33.532Z] + grep '^ii' [2022-06-17T12:11:33.532Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T12:11:33.532Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T12:11:33.532Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T12:11:33.532Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-42 ']' [2022-06-17T12:11:33.532Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-42/archives/ [2022-06-17T12:11:33.532Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-42/archives/ [Pipeline] echo [2022-06-17T12:11:33.564Z] 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-42/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T12:11:33.865Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:11:34.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T12:11:34.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:11:34.650Z] prd-ubuntu20.04-docker-8c-8g-2575 does not seem to be running inside a container [2022-06-17T12:11:34.688Z] $ 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-42/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-42 -v /w/workspace/xfoundry_device-usb-camera_PR-42:/w/workspace/xfoundry_device-usb-camera_PR-42:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-42@tmp:/w/workspace/xfoundry_device-usb-camera_PR-42@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T12:11:34.942Z] $ docker top 654c50cb9d02067906ff29df50945f9b1ceb01f4f22d1d0522da39cab797651f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T12:11:35.342Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T12:11:35.659Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T12:11:35.986Z] + ls /var/log/sa-host [2022-06-17T12:11:35.986Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T12:11:36.120Z] provisioning config files... [2022-06-17T12:11:36.131Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-42@tmp/config7849833075872219348tmp [Pipeline] { [Pipeline] echo [2022-06-17T12:11:36.181Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:11:36.495Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T12:11:36.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:11:36.940Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T12:11:36.971Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:11:37.281Z] ---> sudo-logs.sh [2022-06-17T12:11:37.281Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T12:11:37.366Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:11:37.677Z] ---> job-cost.sh [2022-06-17T12:11:37.677Z] lf-activate-venv: SKIPPING [2022-06-17T12:11:37.677Z] DEBUG: total: 0.2199999988079071 [2022-06-17T12:11:37.677Z] INFO: Retrieving Stack Cost... [2022-06-17T12:11:37.938Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T12:11:38.512Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T12:11:38.548Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:11:38.864Z] ---> logs-deploy.sh [2022-06-17T12:11:38.865Z] lf-activate-venv: SKIPPING [2022-06-17T12:11:38.865Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-42/1 [2022-06-17T12:11:38.865Z] INFO: archiving workspace using pattern(s): [2022-06-17T12:11:39.804Z] Archives upload complete. [2022-06-17T12:11:39.804Z] INFO: archiving logs to Nexus