Pull request #30 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from a19e9f551be91b9bab22a2dbda16c473ae7f3a4f+aaa7e572fda13da2933300a631edf8df830ba1ce (1d008a583a6290c5ade88873776cd9cfd4469f8a) 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-ssh2706885508740810555.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh14104588508735711082.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11800703712822626990.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh16977194346596975038.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6995208815103499205.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64483 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-30 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit a19e9f551be91b9bab22a2dbda16c473ae7f3a4f Merge succeeded, producing 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 Checking out Revision 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f a19e9f551be91b9bab22a2dbda16c473ae7f3a4f # 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 aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 # timeout=10 Commit message: "Merge commit 'aaa7e572fda13da2933300a631edf8df830ba1ce' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-24T14:25:20.625Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-24T14:25:20.694Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-24T14:25:20.710Z] ========================================================= [2022-05-24T14:25:20.710Z] EdgeX Global Pipelines Version Info [2022-05-24T14:25:20.710Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 62e997440414807b99501bc10b6a68f42e6b4436 # timeout=10 [2022-05-24T14:25:21.497Z] ------------------- [2022-05-24T14:25:21.497Z] stable info: [2022-05-24T14:25:21.497Z] ------------------- [2022-05-24T14:25:21.497Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T14:25:21.497Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T14:25:21.497Z] Message: update stable to v1.0.230 [2022-05-24T14:25:22.068Z] ------------------- [2022-05-24T14:25:22.068Z] experimental info: [2022-05-24T14:25:22.068Z] ------------------- [2022-05-24T14:25:22.068Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T14:25:22.068Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T14:25:22.068Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-24T14:25:22.223Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-05-24T14:25:22.241Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-05-24T14:25:22.258Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-24T14:25:22.275Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-24T14:25:22.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-24T14:25:22.313Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-24T14:25:22.333Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-24T14:25:22.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-24T14:25:22.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-24T14:25:22.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-24T14:25:22.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-24T14:25:22.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-05-24T14:25:22.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-24T14:25:22.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-24T14:25:22.470Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T14:25:22.483Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T14:25:22.501Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T14:25:22.518Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T14:25:22.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-24T14:25:22.550Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-24T14:25:22.565Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-24T14:25:22.575Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-24T14:25:22.587Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-24T14:25:22.604Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-24T14:25:22.625Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-24T14:25:22.646Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-24T14:25:22.666Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-05-24T14:25:22.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-05-24T14:25:22.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-05-24T14:25:22.726Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] echo [2022-05-24T14:25:22.746Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7adc8ff [Pipeline] echo [2022-05-24T14:25:22.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T14:25:22.820Z] provisioning config files... [2022-05-24T14:25:22.834Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config6323306154323957183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:25:23.143Z] ---> docker-login.sh [2022-05-24T14:25:23.144Z] nexus3.edgexfoundry.org:10001 [2022-05-24T14:25:23.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:23.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:23.676Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:23.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:23.676Z] [2022-05-24T14:25:23.676Z] Login Succeeded [2022-05-24T14:25:23.676Z] nexus3.edgexfoundry.org:10002 [2022-05-24T14:25:23.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:23.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:23.676Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:23.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:23.676Z] [2022-05-24T14:25:23.676Z] Login Succeeded [2022-05-24T14:25:23.676Z] nexus3.edgexfoundry.org:10003 [2022-05-24T14:25:23.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:23.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:23.937Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:23.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:23.937Z] [2022-05-24T14:25:23.937Z] Login Succeeded [2022-05-24T14:25:23.937Z] nexus3.edgexfoundry.org:10004 [2022-05-24T14:25:23.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:23.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:23.937Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:23.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:23.937Z] [2022-05-24T14:25:23.937Z] Login Succeeded [2022-05-24T14:25:23.937Z] docker.io [2022-05-24T14:25:23.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:24.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:24.513Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:24.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:24.513Z] [2022-05-24T14:25:24.513Z] Login Succeeded [2022-05-24T14:25:24.513Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T14:25:24.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-24T14:25:24.902Z] + git rev-list -1 --merges 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8~1..7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] echo [2022-05-24T14:25:24.933Z] -----------> git rev-list -1 --merges 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8~1..7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [2022-05-24T14:25:24.933Z] 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [false] [Pipeline] sh [2022-05-24T14:25:25.229Z] + git log --format=format:%s -1 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] echo [2022-05-24T14:25:25.246Z] ========================================================= [2022-05-24T14:25:25.246Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-24T14:25:25.246Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T14:25:25.594Z] + git log --format=format:%s -1 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] echo [2022-05-24T14:25:25.607Z] [semverPrep] GIT_COMMIT: 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8, Commit Message: Merge commit 'aaa7e572fda13da2933300a631edf8df830ba1ce' into HEAD [Pipeline] echo [2022-05-24T14:25:25.617Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-24T14:25:26.038Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-24T14:25:26.039Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-24T14:25:26.039Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-24T14:25:26.039Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-24T14:25:26.039Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-24T14:25:26.039Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-24T14:25:26.039Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:25:26.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T14:25:26.472Z] [2022-05-24T14:25:26.472Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:25:26.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T14:25:26.783Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-24T14:25:26.783Z] 1fe172e4850f: Pulling fs layer [2022-05-24T14:25:26.783Z] caf521ccaac6: Pulling fs layer [2022-05-24T14:25:26.783Z] 3ead6fa29328: Pulling fs layer [2022-05-24T14:25:26.783Z] 5c2a1cbceb83: Pulling fs layer [2022-05-24T14:25:26.783Z] a8d5f1318db7: Pulling fs layer [2022-05-24T14:25:26.783Z] c427282e49a2: Pulling fs layer [2022-05-24T14:25:26.783Z] 1827001aaf11: Pulling fs layer [2022-05-24T14:25:26.783Z] 0714d37db230: Pulling fs layer [2022-05-24T14:25:26.783Z] ac28cf19c067: Pulling fs layer [2022-05-24T14:25:26.783Z] ca983d60f3e2: Pulling fs layer [2022-05-24T14:25:26.783Z] 9f894cec8388: Pulling fs layer [2022-05-24T14:25:26.783Z] 5c2a1cbceb83: Waiting [2022-05-24T14:25:26.783Z] a8d5f1318db7: Waiting [2022-05-24T14:25:26.783Z] c427282e49a2: Waiting [2022-05-24T14:25:26.783Z] 1827001aaf11: Waiting [2022-05-24T14:25:26.783Z] 0714d37db230: Waiting [2022-05-24T14:25:26.783Z] ac28cf19c067: Waiting [2022-05-24T14:25:26.783Z] ca983d60f3e2: Waiting [2022-05-24T14:25:26.783Z] 9f894cec8388: Waiting [2022-05-24T14:25:26.783Z] caf521ccaac6: Verifying Checksum [2022-05-24T14:25:26.783Z] caf521ccaac6: Download complete [2022-05-24T14:25:26.783Z] 5c2a1cbceb83: Download complete [2022-05-24T14:25:27.045Z] a8d5f1318db7: Verifying Checksum [2022-05-24T14:25:27.045Z] a8d5f1318db7: Download complete [2022-05-24T14:25:27.045Z] c427282e49a2: Verifying Checksum [2022-05-24T14:25:27.045Z] c427282e49a2: Download complete [2022-05-24T14:25:27.045Z] 3ead6fa29328: Verifying Checksum [2022-05-24T14:25:27.045Z] 3ead6fa29328: Download complete [2022-05-24T14:25:27.045Z] 0714d37db230: Download complete [2022-05-24T14:25:27.045Z] ac28cf19c067: Verifying Checksum [2022-05-24T14:25:27.045Z] ac28cf19c067: Download complete [2022-05-24T14:25:27.045Z] ca983d60f3e2: Verifying Checksum [2022-05-24T14:25:27.045Z] ca983d60f3e2: Download complete [2022-05-24T14:25:27.045Z] 9f894cec8388: Download complete [2022-05-24T14:25:27.045Z] 1fe172e4850f: Verifying Checksum [2022-05-24T14:25:27.045Z] 1fe172e4850f: Download complete [2022-05-24T14:25:27.307Z] 1827001aaf11: Verifying Checksum [2022-05-24T14:25:27.307Z] 1827001aaf11: Download complete [2022-05-24T14:25:28.249Z] 1fe172e4850f: Pull complete [2022-05-24T14:25:28.249Z] caf521ccaac6: Pull complete [2022-05-24T14:25:28.822Z] 3ead6fa29328: Pull complete [2022-05-24T14:25:28.822Z] 5c2a1cbceb83: Pull complete [2022-05-24T14:25:29.083Z] a8d5f1318db7: Pull complete [2022-05-24T14:25:29.344Z] c427282e49a2: Pull complete [2022-05-24T14:25:31.340Z] 1827001aaf11: Pull complete [2022-05-24T14:25:31.340Z] 0714d37db230: Pull complete [2022-05-24T14:25:31.340Z] ac28cf19c067: Pull complete [2022-05-24T14:25:31.340Z] ca983d60f3e2: Pull complete [2022-05-24T14:25:31.602Z] 9f894cec8388: Pull complete [2022-05-24T14:25:31.602Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-24T14:25:31.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T14:25:31.602Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-24T14:25:31.680Z] prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container [2022-05-24T14:25:31.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-24T14:25:33.405Z] $ docker top ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da -eo pid,comm [2022-05-24T14:25:33.469Z] 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-05-24T14:25:33.469Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-24T14:25:33.507Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T14:25:33.507Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T14:25:33.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T14:25:33.642Z] $ docker exec ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da ssh-agent [2022-05-24T14:25:33.767Z] SSH_AUTH_SOCK=/tmp/ssh-yFQt5BfxvICv/agent.34 [2022-05-24T14:25:33.767Z] SSH_AGENT_PID=40 [2022-05-24T14:25:33.775Z] Running ssh-add (command line suppressed) [2022-05-24T14:25:33.899Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_2781563692162169765.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_2781563692162169765.key) [2022-05-24T14:25:33.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T14:25:34.204Z] + git tag --points-at HEAD [Pipeline] } [2022-05-24T14:25:34.233Z] $ docker exec --env ******** --env ******** ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da ssh-agent -k [2022-05-24T14:25:34.358Z] unset SSH_AUTH_SOCK; [2022-05-24T14:25:34.358Z] unset SSH_AGENT_PID; [2022-05-24T14:25:34.358Z] echo Agent pid 40 killed; [2022-05-24T14:25:34.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-24T14:25:34.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T14:25:34.398Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T14:25:34.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T14:25:34.538Z] $ docker exec ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da ssh-agent [2022-05-24T14:25:34.671Z] SSH_AUTH_SOCK=/tmp/ssh-GvwiQd8gAS6c/agent.74 [2022-05-24T14:25:34.671Z] SSH_AGENT_PID=80 [2022-05-24T14:25:34.676Z] Running ssh-add (command line suppressed) [2022-05-24T14:25:34.800Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_5922487376253677842.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_5922487376253677842.key) [2022-05-24T14:25:34.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T14:25:35.109Z] + git semver init [2022-05-24T14:25:35.370Z] 2022-05-24 14:25:35,340 [run_init] DEBUG init version:0.0.0 force:False [2022-05-24T14:25:35.370Z] 2022-05-24 14:25:35,341 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-05-24T14:25:35.370Z] 2022-05-24 14:25:35,341 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-05-24T14:25:35.370Z] 2022-05-24 14:25:35,342 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) [2022-05-24T14:25:35.943Z] 2022-05-24 14:25:35,918 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-05-24T14:25:35.943Z] 2022-05-24 14:25:35,918 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False [2022-05-24T14:25:35.943Z] 2022-05-24 14:25:35,918 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-05-24T14:25:35.943Z] 2022-05-24 14:25:35,922 [execute] INFO git cat-file --batch-check [2022-05-24T14:25:35.943Z] 2022-05-24 14:25:35,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-05-24T14:25:35.943Z] 2022-05-24 14:25:35,928 [execute] INFO git cat-file --batch [2022-05-24T14:25:35.943Z] 2022-05-24 14:25:35,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-05-24T14:25:35.943Z] 2022-05-24 14:25:35,933 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-05-24T14:25:35.943Z] 0.0.0 [Pipeline] } [2022-05-24T14:25:35.961Z] $ docker exec --env ******** --env ******** ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da ssh-agent -k [2022-05-24T14:25:36.067Z] unset SSH_AUTH_SOCK; [2022-05-24T14:25:36.068Z] unset SSH_AGENT_PID; [2022-05-24T14:25:36.068Z] echo Agent pid 80 killed; [2022-05-24T14:25:36.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-24T14:25:36.386Z] + git semver [Pipeline] } [2022-05-24T14:25:36.668Z] $ docker stop --time=1 ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da [2022-05-24T14:25:38.029Z] $ docker rm -f ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T14:25:38.401Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-24T14:25:38.671Z] Stashed 1 file(s) [Pipeline] echo [2022-05-24T14:25:38.674Z] [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-05-24T14:25:38.810Z] provisioning config files... [2022-05-24T14:25:38.819Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config388377035343787360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:25:39.123Z] ---> docker-login.sh [2022-05-24T14:25:39.123Z] nexus3.edgexfoundry.org:10001 [2022-05-24T14:25:39.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:39.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:39.123Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:39.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:39.123Z] [2022-05-24T14:25:39.123Z] Login Succeeded [2022-05-24T14:25:39.123Z] nexus3.edgexfoundry.org:10002 [2022-05-24T14:25:39.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:39.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:39.384Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:39.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:39.384Z] [2022-05-24T14:25:39.384Z] Login Succeeded [2022-05-24T14:25:39.384Z] nexus3.edgexfoundry.org:10003 [2022-05-24T14:25:39.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:39.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:39.384Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:39.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:39.384Z] [2022-05-24T14:25:39.384Z] Login Succeeded [2022-05-24T14:25:39.384Z] nexus3.edgexfoundry.org:10004 [2022-05-24T14:25:39.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:39.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:39.645Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:39.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:39.645Z] [2022-05-24T14:25:39.645Z] Login Succeeded [2022-05-24T14:25:39.645Z] docker.io [2022-05-24T14:25:39.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:25:39.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:25:39.905Z] Configure a credential helper to remove this warning. See [2022-05-24T14:25:39.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:25:39.905Z] [2022-05-24T14:25:39.905Z] Login Succeeded [2022-05-24T14:25:39.905Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T14:25:39.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T14:25:39.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T14:25:39.999Z] ========================================================= [2022-05-24T14:25:39.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-24T14:25:39.999Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:25:40.316Z] + 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-05-24T14:25:40.316Z] Sending build context to Docker daemon 762.4kB [2022-05-24T14:25:40.316Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T14:25:40.316Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-24T14:25:40.316Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-24T14:25:40.316Z] 59bf1c3509f3: Pulling fs layer [2022-05-24T14:25:40.316Z] 666ba61612fd: Pulling fs layer [2022-05-24T14:25:40.316Z] 8ed8ca486205: Pulling fs layer [2022-05-24T14:25:40.316Z] 4fe6c5a15a65: Pulling fs layer [2022-05-24T14:25:40.316Z] 22a0e8bec74d: Pulling fs layer [2022-05-24T14:25:40.316Z] ca2b28591e48: Pulling fs layer [2022-05-24T14:25:40.316Z] a51346096db8: Pulling fs layer [2022-05-24T14:25:40.316Z] daebc70d1ce1: Pulling fs layer [2022-05-24T14:25:40.316Z] 0e18a0eac166: Pulling fs layer [2022-05-24T14:25:40.316Z] 22a0e8bec74d: Waiting [2022-05-24T14:25:40.316Z] ca2b28591e48: Waiting [2022-05-24T14:25:40.316Z] a51346096db8: Waiting [2022-05-24T14:25:40.316Z] daebc70d1ce1: Waiting [2022-05-24T14:25:40.316Z] 0e18a0eac166: Waiting [2022-05-24T14:25:40.316Z] 4fe6c5a15a65: Waiting [2022-05-24T14:25:40.316Z] 8ed8ca486205: Download complete [2022-05-24T14:25:40.316Z] 666ba61612fd: Download complete [2022-05-24T14:25:40.316Z] 22a0e8bec74d: Verifying Checksum [2022-05-24T14:25:40.316Z] 22a0e8bec74d: Download complete [2022-05-24T14:25:40.316Z] ca2b28591e48: Verifying Checksum [2022-05-24T14:25:40.316Z] ca2b28591e48: Download complete [2022-05-24T14:25:40.316Z] 59bf1c3509f3: Verifying Checksum [2022-05-24T14:25:40.316Z] 59bf1c3509f3: Download complete [2022-05-24T14:25:40.316Z] a51346096db8: Verifying Checksum [2022-05-24T14:25:40.316Z] a51346096db8: Download complete [2022-05-24T14:25:40.577Z] daebc70d1ce1: Verifying Checksum [2022-05-24T14:25:40.577Z] daebc70d1ce1: Download complete [2022-05-24T14:25:40.577Z] 59bf1c3509f3: Pull complete [2022-05-24T14:25:40.839Z] 666ba61612fd: Pull complete [2022-05-24T14:25:40.839Z] 8ed8ca486205: Pull complete [2022-05-24T14:25:41.098Z] 0e18a0eac166: Verifying Checksum [2022-05-24T14:25:41.098Z] 0e18a0eac166: Download complete [2022-05-24T14:25:41.098Z] 4fe6c5a15a65: Verifying Checksum [2022-05-24T14:25:41.098Z] 4fe6c5a15a65: Download complete [2022-05-24T14:25:45.295Z] 4fe6c5a15a65: Pull complete [2022-05-24T14:25:45.295Z] 22a0e8bec74d: Pull complete [2022-05-24T14:25:45.295Z] ca2b28591e48: Pull complete [2022-05-24T14:25:45.295Z] a51346096db8: Pull complete [2022-05-24T14:25:45.295Z] daebc70d1ce1: Pull complete [2022-05-24T14:25:47.201Z] 0e18a0eac166: Pull complete [2022-05-24T14:25:47.201Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-24T14:25:47.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-24T14:25:47.201Z] ---> f018257e8ee9 [2022-05-24T14:25:47.201Z] Step 3/12 : ARG MAKE="make build" [2022-05-24T14:25:49.120Z] ---> Running in fcca661dc035 [2022-05-24T14:25:49.120Z] Removing intermediate container fcca661dc035 [2022-05-24T14:25:49.120Z] ---> a7b590d9ccc7 [2022-05-24T14:25:49.120Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T14:25:49.120Z] ---> Running in 9c47c4eee338 [2022-05-24T14:25:49.120Z] Removing intermediate container 9c47c4eee338 [2022-05-24T14:25:49.120Z] ---> 1d5415ba79db [2022-05-24T14:25:49.120Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-24T14:25:49.120Z] ---> Running in 5b0edb12a0bd [2022-05-24T14:25:49.120Z] Removing intermediate container 5b0edb12a0bd [2022-05-24T14:25:49.120Z] ---> fc7799824353 [2022-05-24T14:25:49.120Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T14:25:49.120Z] ---> Running in 75ccc98143a8 [2022-05-24T14:25:49.692Z] Removing intermediate container 75ccc98143a8 [2022-05-24T14:25:49.692Z] ---> 4a87e343f343 [2022-05-24T14:25:49.692Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T14:25:49.953Z] ---> Running in aac29869b86f [2022-05-24T14:25:50.214Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T14:25:51.152Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T14:25:51.413Z] (1/81) Installing mesa (21.2.6-r0) [2022-05-24T14:25:51.413Z] (2/81) Installing libxau (1.0.9-r0) [2022-05-24T14:25:51.413Z] (3/81) Installing libmd (1.0.3-r0) [2022-05-24T14:25:51.675Z] (4/81) Installing libbsd (0.11.3-r1) [2022-05-24T14:25:51.675Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-05-24T14:25:51.675Z] (6/81) Installing libxcb (1.14-r2) [2022-05-24T14:25:51.936Z] (7/81) Installing libx11 (1.7.2-r0) [2022-05-24T14:25:51.936Z] (8/81) Installing libxext (1.3.4-r0) [2022-05-24T14:25:51.936Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-05-24T14:25:52.196Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-05-24T14:25:52.196Z] (11/81) Installing libpciaccess (0.16-r0) [2022-05-24T14:25:52.196Z] (12/81) Installing libdrm (2.4.109-r0) [2022-05-24T14:25:52.458Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-05-24T14:25:52.458Z] (14/81) Installing libxshmfence (1.3-r1) [2022-05-24T14:25:52.458Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-05-24T14:25:52.719Z] (16/81) Installing libice (1.0.10-r0) [2022-05-24T14:25:52.719Z] (17/81) Installing libuuid (2.37.4-r0) [2022-05-24T14:25:52.981Z] (18/81) Installing libsm (1.2.3-r0) [2022-05-24T14:25:52.981Z] (19/81) Installing libxt (1.2.1-r0) [2022-05-24T14:25:52.981Z] (20/81) Installing libxmu (1.1.3-r0) [2022-05-24T14:25:53.243Z] (21/81) Installing xset (1.2.4-r0) [2022-05-24T14:25:53.243Z] (22/81) Installing xprop (1.2.5-r0) [2022-05-24T14:25:53.243Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-05-24T14:25:53.504Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-05-24T14:25:53.504Z] (25/81) Installing libffi (3.4.2-r1) [2022-05-24T14:25:53.504Z] (26/81) Installing libintl (0.21-r0) [2022-05-24T14:25:53.765Z] (27/81) Installing libblkid (2.37.4-r0) [2022-05-24T14:25:53.765Z] (28/81) Installing libmount (2.37.4-r0) [2022-05-24T14:25:53.765Z] (29/81) Installing pcre (8.45-r1) [2022-05-24T14:25:53.773Z] Still waiting to schedule task [2022-05-24T14:25:53.773Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-24T14:25:54.029Z] (30/81) Installing glib (2.70.1-r0) [2022-05-24T14:25:54.029Z] (31/81) Installing icu-libs (69.1-r1) [2022-05-24T14:25:54.627Z] (32/81) Installing libpcre2-16 (10.39-r0) [2022-05-24T14:25:54.627Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-05-24T14:25:54.890Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-05-24T14:25:55.151Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-05-24T14:25:55.151Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-05-24T14:25:55.151Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-05-24T14:25:55.414Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-05-24T14:25:55.414Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-05-24T14:25:55.675Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-05-24T14:25:55.937Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-05-24T14:25:55.937Z] (42/81) Installing libpng (1.6.37-r1) [2022-05-24T14:25:55.937Z] (43/81) Installing freetype (2.11.1-r2) [2022-05-24T14:25:56.197Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-05-24T14:25:56.197Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-05-24T14:25:56.197Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-05-24T14:25:56.458Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-05-24T14:25:56.458Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-05-24T14:25:56.458Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-05-24T14:25:56.722Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-05-24T14:25:56.722Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-05-24T14:25:56.983Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-05-24T14:25:56.983Z] (53/81) Installing avahi-libs (0.8-r5) [2022-05-24T14:25:56.983Z] (54/81) Installing nettle (3.7.3-r0) [2022-05-24T14:25:57.246Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-05-24T14:25:57.247Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-05-24T14:25:57.247Z] (57/81) Installing libunistring (0.9.10-r1) [2022-05-24T14:25:57.507Z] (58/81) Installing gnutls (3.7.1-r0) [2022-05-24T14:25:57.507Z] (59/81) Installing cups-libs (2.3.3-r5) [2022-05-24T14:25:57.769Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-05-24T14:25:57.769Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-05-24T14:25:57.769Z] (62/81) Installing libevdev (1.12.0-r0) [2022-05-24T14:25:58.031Z] (63/81) Installing mtdev (1.1.6-r0) [2022-05-24T14:25:58.031Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-24T14:25:58.031Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-05-24T14:25:58.291Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-05-24T14:25:58.291Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-05-24T14:25:58.291Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-05-24T14:25:58.553Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-05-24T14:25:58.553Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-05-24T14:25:58.553Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-05-24T14:25:58.813Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-05-24T14:25:58.813Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-05-24T14:25:59.386Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-05-24T14:25:59.386Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-05-24T14:25:59.647Z] (76/81) Installing udev-init-scripts (35-r0) [2022-05-24T14:25:59.647Z] Executing udev-init-scripts-35-r0.post-install [2022-05-24T14:25:59.647Z] (77/81) Installing kmod-libs (29-r2) [2022-05-24T14:25:59.647Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-05-24T14:25:59.909Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-24T14:25:59.909Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-24T14:25:59.909Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-05-24T14:26:00.169Z] Executing busybox-1.34.1-r3.trigger [2022-05-24T14:26:00.169Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-24T14:26:00.169Z] OK: 335 MiB in 133 packages [2022-05-24T14:26:02.083Z] Removing intermediate container aac29869b86f [2022-05-24T14:26:02.083Z] ---> 14e44d0301db [2022-05-24T14:26:02.083Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-24T14:26:02.083Z] ---> Running in c7fd87f2b2cb [2022-05-24T14:26:02.083Z] Removing intermediate container c7fd87f2b2cb [2022-05-24T14:26:02.083Z] ---> 27e72dfa2594 [2022-05-24T14:26:02.083Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-24T14:26:02.083Z] ---> 6c07334dbb9a [2022-05-24T14:26:02.083Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T14:26:02.344Z] ---> Running in fa803727259a [2022-05-24T14:26:20.460Z] Removing intermediate container fa803727259a [2022-05-24T14:26:20.460Z] ---> e3be9666f3e3 [2022-05-24T14:26:20.460Z] Step 11/12 : COPY . . [2022-05-24T14:26:20.460Z] ---> 2517f1eba00c [2022-05-24T14:26:20.460Z] Step 12/12 : RUN ${MAKE} [2022-05-24T14:26:20.460Z] ---> Running in 28afebc36a2c [2022-05-24T14:26:20.460Z] noop [2022-05-24T14:26:20.460Z] Removing intermediate container 28afebc36a2c [2022-05-24T14:26:20.460Z] ---> ffe10abccba3 [2022-05-24T14:26:20.460Z] Successfully built ffe10abccba3 [2022-05-24T14:26:20.460Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:26:20.756Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T14:26:20.756Z] . [Pipeline] withDockerContainer [2022-05-24T14:26:20.818Z] prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container [2022-05-24T14:26:20.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-24T14:26:21.271Z] $ docker top d7bc8afe9c9feb9b3fcbc86d9bb381838e2a2386c68cb580c32a87e7b7a21130 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T14:26:21.613Z] + go version [2022-05-24T14:26:21.613Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-24T14:26:21.630Z] $ docker stop --time=1 d7bc8afe9c9feb9b3fcbc86d9bb381838e2a2386c68cb580c32a87e7b7a21130 [2022-05-24T14:26:22.934Z] $ docker rm -f d7bc8afe9c9feb9b3fcbc86d9bb381838e2a2386c68cb580c32a87e7b7a21130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:26:23.364Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T14:26:23.364Z] . [Pipeline] withDockerContainer [2022-05-24T14:26:23.430Z] prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container [2022-05-24T14:26:23.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-24T14:26:23.839Z] $ docker top 6e0f069a4b879f896f97f73a98a664724e47d1502923ba2c671d17510ad66ccb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T14:26:24.250Z] + make test [2022-05-24T14:26:24.250Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-24T14:26:24.512Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-24T14:26:34.493Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-24T14:26:34.493Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-24T14:26:39.773Z] CGO_ENABLED=1 go vet ./... [2022-05-24T14:26:43.976Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T14:26:43.976Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T14:26:43.976Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-24T14:26:43.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-24T14:26:44.010Z] $ docker stop --time=1 6e0f069a4b879f896f97f73a98a664724e47d1502923ba2c671d17510ad66ccb [2022-05-24T14:26:45.666Z] $ docker rm -f 6e0f069a4b879f896f97f73a98a664724e47d1502923ba2c671d17510ad66ccb [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T14:26:46.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-24T14:26:46.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-24T14:26:46.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-24T14:26:47.142Z] + ls -al . [2022-05-24T14:26:47.142Z] total 168 [2022-05-24T14:26:47.142Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 14:26 . [2022-05-24T14:26:47.142Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 14:25 .. [2022-05-24T14:26:47.142Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 14:25 .git [2022-05-24T14:26:47.142Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:25 .github [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 414 May 24 14:25 .gitignore [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 14:25 .golangci.yml [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 77 May 24 14:25 .hadolint.yml [2022-05-24T14:26:47.142Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 14:25 .semver [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 24 14:25 Attribution.txt [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 181 May 24 14:25 CHANGELOG.md [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 24 14:25 Dockerfile [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 678 May 24 14:25 GOVERNANCE.md [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 659 May 24 14:25 Jenkinsfile [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 24 14:25 LICENSE [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 2030 May 24 14:25 Makefile [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 622 May 24 14:25 OWNERS.md [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 8944 May 24 14:25 README.md [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 14:25 VERSION [2022-05-24T14:26:47.142Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:25 bin [2022-05-24T14:26:47.142Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:25 cmd [2022-05-24T14:26:47.142Z] -rw-r--r-- 1 jenkins jenkins 10 May 24 14:26 coverage.out [2022-05-24T14:26:47.142Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:25 docker-compose [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 14:25 docker-entrypoint.sh [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 24 14:25 go.mod [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 24 14:25 go.sum [2022-05-24T14:26:47.142Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:25 internal [2022-05-24T14:26:47.142Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:25 snap [2022-05-24T14:26:47.142Z] -rw-rw-r-- 1 jenkins jenkins 231 May 24 14:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:26:47.439Z] + 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=7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 --label arch=amd64 --label version=0.0.0 . [2022-05-24T14:26:47.439Z] Sending build context to Docker daemon 763.4kB [2022-05-24T14:26:47.439Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T14:26:47.439Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-24T14:26:47.439Z] ---> ffe10abccba3 [2022-05-24T14:26:47.439Z] Step 3/29 : ARG MAKE="make build" [2022-05-24T14:26:47.439Z] ---> Running in 42d2d1578c5b [2022-05-24T14:26:47.439Z] Removing intermediate container 42d2d1578c5b [2022-05-24T14:26:47.439Z] ---> 5f616f95c0e1 [2022-05-24T14:26:47.439Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T14:26:47.700Z] ---> Running in 8062a53e2e7b [2022-05-24T14:26:47.700Z] Removing intermediate container 8062a53e2e7b [2022-05-24T14:26:47.700Z] ---> 9cf953c81f1b [2022-05-24T14:26:47.700Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-24T14:26:47.700Z] ---> Running in fdd588b663da [2022-05-24T14:26:47.700Z] Removing intermediate container fdd588b663da [2022-05-24T14:26:47.700Z] ---> 01c5dcd6e102 [2022-05-24T14:26:47.700Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T14:26:47.961Z] ---> Running in 93cf1db26d2e [2022-05-24T14:26:48.531Z] Removing intermediate container 93cf1db26d2e [2022-05-24T14:26:48.531Z] ---> 474d5e64ce17 [2022-05-24T14:26:48.531Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T14:26:48.531Z] ---> Running in c8eb5232da8a [2022-05-24T14:26:48.791Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T14:26:49.733Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T14:26:49.992Z] OK: 335 MiB in 133 packages [2022-05-24T14:26:50.251Z] Removing intermediate container c8eb5232da8a [2022-05-24T14:26:50.251Z] ---> c6f274f254c9 [2022-05-24T14:26:50.251Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-24T14:26:50.251Z] ---> Running in 004bc5272875 [2022-05-24T14:26:50.251Z] Removing intermediate container 004bc5272875 [2022-05-24T14:26:50.251Z] ---> e525dfc9ba08 [2022-05-24T14:26:50.251Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-24T14:26:50.514Z] ---> 006521d34a08 [2022-05-24T14:26:50.514Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T14:26:50.514Z] ---> Running in d3e84b139a44 [2022-05-24T14:26:51.085Z] Removing intermediate container d3e84b139a44 [2022-05-24T14:26:51.085Z] ---> 5579a721dbe4 [2022-05-24T14:26:51.085Z] Step 11/29 : COPY . . [2022-05-24T14:26:51.346Z] ---> 5ed294cff936 [2022-05-24T14:26:51.346Z] Step 12/29 : RUN ${MAKE} [2022-05-24T14:26:51.346Z] ---> Running in 70544e7f0751 [2022-05-24T14:26:51.606Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-05-24T14:27:09.709Z] Removing intermediate container 70544e7f0751 [2022-05-24T14:27:09.709Z] ---> 069f9af2c3e6 [2022-05-24T14:27:09.709Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-24T14:27:10.282Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-24T14:27:10.282Z] af6660deedbd: Pulling fs layer [2022-05-24T14:27:10.282Z] 97cd0a44c592: Pulling fs layer [2022-05-24T14:27:10.541Z] 97cd0a44c592: Verifying Checksum [2022-05-24T14:27:10.541Z] 97cd0a44c592: Download complete [2022-05-24T14:27:10.541Z] af6660deedbd: Verifying Checksum [2022-05-24T14:27:10.541Z] af6660deedbd: Download complete [2022-05-24T14:27:10.802Z] af6660deedbd: Pull complete [2022-05-24T14:27:10.802Z] 97cd0a44c592: Pull complete [2022-05-24T14:27:10.802Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-24T14:27:10.802Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-24T14:27:10.802Z] ---> fea57e182299 [2022-05-24T14:27:10.802Z] Step 14/29 : FROM alpine:3.15 [2022-05-24T14:27:11.374Z] 3.15: Pulling from library/alpine [2022-05-24T14:27:11.374Z] df9b9388f04a: Pulling fs layer [2022-05-24T14:27:11.633Z] df9b9388f04a: Verifying Checksum [2022-05-24T14:27:11.633Z] df9b9388f04a: Download complete [2022-05-24T14:27:11.633Z] df9b9388f04a: Pull complete [2022-05-24T14:27:11.633Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-24T14:27:11.633Z] Status: Downloaded newer image for alpine:3.15 [2022-05-24T14:27:11.633Z] ---> 0ac33e5f5afa [2022-05-24T14:27:11.633Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-24T14:27:11.894Z] ---> Running in 1e02210c02df [2022-05-24T14:27:11.894Z] Removing intermediate container 1e02210c02df [2022-05-24T14:27:11.894Z] ---> 0a338161e6e8 [2022-05-24T14:27:11.894Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-24T14:27:11.894Z] ---> Running in 484087c9bd43 [2022-05-24T14:27:12.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T14:27:12.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T14:27:12.414Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-05-24T14:27:12.414Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-05-24T14:27:12.414Z] (3/74) Installing libxau (1.0.9-r0) [2022-05-24T14:27:12.414Z] (4/74) Installing libmd (1.0.3-r0) [2022-05-24T14:27:12.414Z] (5/74) Installing libbsd (0.11.3-r1) [2022-05-24T14:27:12.414Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-05-24T14:27:12.677Z] (7/74) Installing libxcb (1.14-r2) [2022-05-24T14:27:12.677Z] (8/74) Installing libx11 (1.7.2-r0) [2022-05-24T14:27:12.677Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-05-24T14:27:12.677Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-05-24T14:27:12.677Z] (11/74) Installing expat (2.4.7-r0) [2022-05-24T14:27:12.677Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-05-24T14:27:12.677Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-05-24T14:27:12.677Z] (14/74) Installing libpng (1.6.37-r1) [2022-05-24T14:27:12.677Z] (15/74) Installing freetype (2.11.1-r2) [2022-05-24T14:27:12.677Z] (16/74) Installing libuuid (2.37.4-r0) [2022-05-24T14:27:12.677Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-05-24T14:27:12.677Z] (18/74) Installing fribidi (1.0.11-r0) [2022-05-24T14:27:12.677Z] (19/74) Installing libffi (3.4.2-r1) [2022-05-24T14:27:12.677Z] (20/74) Installing libintl (0.21-r0) [2022-05-24T14:27:12.677Z] (21/74) Installing libblkid (2.37.4-r0) [2022-05-24T14:27:12.677Z] (22/74) Installing libmount (2.37.4-r0) [2022-05-24T14:27:12.677Z] (23/74) Installing pcre (8.45-r1) [2022-05-24T14:27:12.677Z] (24/74) Installing glib (2.70.1-r0) [2022-05-24T14:27:12.677Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-05-24T14:27:12.677Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-05-24T14:27:12.940Z] (27/74) Installing libass (0.15.2-r0) [2022-05-24T14:27:12.940Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-05-24T14:27:12.940Z] (29/74) Installing gmp (6.2.1-r1) [2022-05-24T14:27:12.940Z] (30/74) Installing nettle (3.7.3-r0) [2022-05-24T14:27:12.940Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-05-24T14:27:12.940Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-05-24T14:27:12.940Z] (33/74) Installing libunistring (0.9.10-r1) [2022-05-24T14:27:12.940Z] (34/74) Installing gnutls (3.7.1-r0) [2022-05-24T14:27:12.940Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-24T14:27:12.940Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-24T14:27:12.940Z] (37/74) Installing lame (3.100-r0) [2022-05-24T14:27:12.940Z] (38/74) Installing opus (1.3.1-r1) [2022-05-24T14:27:12.940Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-05-24T14:27:12.940Z] (40/74) Installing soxr (0.1.3-r2) [2022-05-24T14:27:12.940Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-05-24T14:27:12.940Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-24T14:27:12.940Z] (43/74) Installing libsrt (1.4.2-r1) [2022-05-24T14:27:12.940Z] (44/74) Installing libssh (0.9.6-r1) [2022-05-24T14:27:12.940Z] (45/74) Installing libogg (1.3.5-r0) [2022-05-24T14:27:12.940Z] (46/74) Installing libtheora (1.1.1-r16) [2022-05-24T14:27:12.940Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-05-24T14:27:12.940Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-05-24T14:27:12.940Z] (49/74) Installing libxext (1.3.4-r0) [2022-05-24T14:27:12.940Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-05-24T14:27:12.940Z] (51/74) Installing libpciaccess (0.16-r0) [2022-05-24T14:27:12.940Z] (52/74) Installing libdrm (2.4.109-r0) [2022-05-24T14:27:12.940Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-05-24T14:27:12.940Z] (54/74) Installing libva (2.13.0-r0) [2022-05-24T14:27:12.940Z] (55/74) Installing libvdpau (1.4-r0) [2022-05-24T14:27:12.940Z] (56/74) Installing vidstab (1.1.0-r1) [2022-05-24T14:27:12.941Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-05-24T14:27:12.941Z] (58/74) Installing libvpx (1.10.0-r0) [2022-05-24T14:27:13.201Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-05-24T14:27:13.201Z] (60/74) Installing libwebp (1.2.2-r0) [2022-05-24T14:27:13.201Z] (61/74) Installing x264-libs (20210613-r0) [2022-05-24T14:27:13.201Z] (62/74) Installing x265-libs (3.5-r0) [2022-05-24T14:27:13.201Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-05-24T14:27:13.201Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-05-24T14:27:13.201Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-05-24T14:27:13.201Z] (66/74) Installing udev-init-scripts (35-r0) [2022-05-24T14:27:13.201Z] Executing udev-init-scripts-35-r0.post-install [2022-05-24T14:27:13.201Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-24T14:27:13.461Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-05-24T14:27:13.461Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-05-24T14:27:13.461Z] (70/74) Installing kmod-libs (29-r2) [2022-05-24T14:27:13.461Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-05-24T14:27:13.461Z] (72/74) Installing libsodium (1.0.18-r0) [2022-05-24T14:27:13.461Z] (73/74) Installing libzmq (4.3.4-r0) [2022-05-24T14:27:13.461Z] (74/74) Installing zeromq (4.3.4-r0) [2022-05-24T14:27:13.461Z] Executing busybox-1.34.1-r5.trigger [2022-05-24T14:27:13.461Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-24T14:27:13.461Z] OK: 78 MiB in 88 packages [2022-05-24T14:27:14.843Z] Removing intermediate container 484087c9bd43 [2022-05-24T14:27:14.843Z] ---> 1275b305d64b [2022-05-24T14:27:14.843Z] Step 17/29 : WORKDIR / [2022-05-24T14:27:14.843Z] ---> Running in 139b7f895095 [2022-05-24T14:27:14.843Z] Removing intermediate container 139b7f895095 [2022-05-24T14:27:14.843Z] ---> 5ccabba166c0 [2022-05-24T14:27:14.843Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-24T14:27:15.415Z] ---> 7eb805cb4970 [2022-05-24T14:27:15.415Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-24T14:27:15.415Z] ---> 15bfed4b678e [2022-05-24T14:27:15.415Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-24T14:27:15.676Z] ---> 14591f32e295 [2022-05-24T14:27:15.676Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-24T14:27:15.676Z] ---> a8e07c454f7a [2022-05-24T14:27:15.676Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-24T14:27:16.247Z] ---> 0de1b0973e2d [2022-05-24T14:27:16.247Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-24T14:27:16.816Z] ---> a4cf96b27b22 [2022-05-24T14:27:16.816Z] Step 24/29 : EXPOSE 59983 [2022-05-24T14:27:16.816Z] ---> Running in 0c430178ebeb [2022-05-24T14:27:17.077Z] Removing intermediate container 0c430178ebeb [2022-05-24T14:27:17.077Z] ---> 1ce95eb03a06 [2022-05-24T14:27:17.077Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-24T14:27:17.077Z] ---> Running in 0766220e24b3 [2022-05-24T14:27:17.077Z] Removing intermediate container 0766220e24b3 [2022-05-24T14:27:17.077Z] ---> 5370a9bd644f [2022-05-24T14:27:17.077Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-24T14:27:17.343Z] ---> Running in c34dad295fe4 [2022-05-24T14:27:17.343Z] Removing intermediate container c34dad295fe4 [2022-05-24T14:27:17.343Z] ---> 837bf738d5c8 [2022-05-24T14:27:17.343Z] Step 27/29 : LABEL arch=amd64 [2022-05-24T14:27:17.343Z] ---> Running in fefc6c0f946a [2022-05-24T14:27:17.343Z] Removing intermediate container fefc6c0f946a [2022-05-24T14:27:17.343Z] ---> ab1041ab3905 [2022-05-24T14:27:17.343Z] Step 28/29 : LABEL git_sha=7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [2022-05-24T14:27:17.608Z] ---> Running in 04225e848cb5 [2022-05-24T14:27:17.608Z] Removing intermediate container 04225e848cb5 [2022-05-24T14:27:17.608Z] ---> 541cf05839b9 [2022-05-24T14:27:17.608Z] Step 29/29 : LABEL version=0.0.0 [2022-05-24T14:27:17.608Z] ---> Running in 803ad0fc70ea [2022-05-24T14:27:17.608Z] Removing intermediate container 803ad0fc70ea [2022-05-24T14:27:17.608Z] ---> 054c6d1b90f7 [2022-05-24T14:27:17.608Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-24T14:27:17.608Z] Successfully built 054c6d1b90f7 [2022-05-24T14:27:17.870Z] Successfully tagged device-usb-camera:latest [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] sh [2022-05-24T14:27:18.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T14:27:18.293Z] [2022-05-24T14:27:18.293Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:27:18.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T14:27:18.599Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-24T14:27:18.599Z] 5eb5b503b376: Pulling fs layer [2022-05-24T14:27:18.599Z] 5c69ac0246d0: Pulling fs layer [2022-05-24T14:27:18.599Z] ec43610c2a17: Pulling fs layer [2022-05-24T14:27:18.599Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-24T14:27:18.599Z] 33b1e0a273af: Pulling fs layer [2022-05-24T14:27:18.599Z] 5d3b04190fa2: Pulling fs layer [2022-05-24T14:27:18.599Z] 2f39f015ded8: Pulling fs layer [2022-05-24T14:27:18.599Z] 3a2ae6a8a46f: Waiting [2022-05-24T14:27:18.599Z] 33b1e0a273af: Waiting [2022-05-24T14:27:18.599Z] 5c69ac0246d0: Download complete [2022-05-24T14:27:18.599Z] 3a2ae6a8a46f: Download complete [2022-05-24T14:27:18.599Z] 33b1e0a273af: Verifying Checksum [2022-05-24T14:27:18.599Z] 33b1e0a273af: Download complete [2022-05-24T14:27:18.599Z] ec43610c2a17: Verifying Checksum [2022-05-24T14:27:18.599Z] ec43610c2a17: Download complete [2022-05-24T14:27:18.599Z] 5d3b04190fa2: Verifying Checksum [2022-05-24T14:27:18.599Z] 5d3b04190fa2: Download complete [2022-05-24T14:27:18.859Z] 5eb5b503b376: Verifying Checksum [2022-05-24T14:27:18.859Z] 5eb5b503b376: Download complete [2022-05-24T14:27:19.427Z] 2f39f015ded8: Download complete [2022-05-24T14:27:19.995Z] 5eb5b503b376: Pull complete [2022-05-24T14:27:20.255Z] 5c69ac0246d0: Pull complete [2022-05-24T14:27:20.515Z] ec43610c2a17: Pull complete [2022-05-24T14:27:20.515Z] 3a2ae6a8a46f: Pull complete [2022-05-24T14:27:20.774Z] 33b1e0a273af: Pull complete [2022-05-24T14:27:21.032Z] 5d3b04190fa2: Pull complete [2022-05-24T14:27:25.230Z] 2f39f015ded8: Pull complete [2022-05-24T14:27:25.230Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-24T14:27:25.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T14:27:25.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-24T14:27:25.294Z] prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container [2022-05-24T14:27:25.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-24T14:27:27.601Z] $ docker top 973b45a9284dc9aff4f5f77338aea0a747db16f0164f8c665ce5e9f3d25bed3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:27:28.041Z] ---> job-cost.sh [2022-05-24T14:27:28.041Z] lf-activate-venv: SKIPPING [2022-05-24T14:27:28.041Z] INFO: No Stack... [2022-05-24T14:27:28.302Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T14:27:28.873Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T14:27:29.172Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-05-24T14:27:29.172Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T14:27:29.188Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [2022-05-24T14:27:29.194Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] did not exist. Created. [2022-05-24T14:27:29.194Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T14:27:29.540Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-24T14:27:29.601Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T14:27:29.608Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T14:27:29.634Z] $ docker stop --time=1 973b45a9284dc9aff4f5f77338aea0a747db16f0164f8c665ce5e9f3d25bed3b [2022-05-24T14:27:30.827Z] $ docker rm -f 973b45a9284dc9aff4f5f77338aea0a747db16f0164f8c665ce5e9f3d25bed3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-24T14:27:31.138Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64484 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-05-24T14:27:31.150Z] Running in /w/workspace/device-usb-camera/8 [Pipeline] { [Pipeline] checkout [2022-05-24T14:27:31.320Z] Selected Git installation does not exist. Using Default [2022-05-24T14:27:31.321Z] The recommended git tool is: NONE [2022-05-24T14:27:36.107Z] using credential edgex-jenkins-ssh [2022-05-24T14:27:36.125Z] Cloning the remote Git repository [2022-05-24T14:27:36.188Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-05-24T14:27:36.262Z] > git init /w/workspace/device-usb-camera/8 # timeout=10 [2022-05-24T14:27:36.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-24T14:27:36.347Z] > git --version # timeout=10 [2022-05-24T14:27:36.373Z] > git --version # 'git version 2.25.1' [2022-05-24T14:27:36.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T14:27:36.439Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T14:27:37.076Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-24T14:27:37.113Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T14:27:37.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-24T14:27:37.233Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-24T14:27:37.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T14:27:37.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-24T14:27:37.760Z] Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit a19e9f551be91b9bab22a2dbda16c473ae7f3a4f [2022-05-24T14:27:38.039Z] Merge succeeded, producing 746f88d770b2e869281661893865573549362065 [2022-05-24T14:27:38.039Z] Checking out Revision 746f88d770b2e869281661893865573549362065 (PR-30) [2022-05-24T14:27:37.786Z] > git config core.sparsecheckout # timeout=10 [2022-05-24T14:27:37.813Z] > git checkout -f a19e9f551be91b9bab22a2dbda16c473ae7f3a4f # timeout=10 [2022-05-24T14:27:37.896Z] > git remote # timeout=10 [2022-05-24T14:27:37.934Z] > git config --get remote.origin.url # timeout=10 [2022-05-24T14:27:37.947Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T14:27:37.960Z] > git merge aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 [2022-05-24T14:27:38.023Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-24T14:27:38.052Z] > git config core.sparsecheckout # timeout=10 [2022-05-24T14:27:38.064Z] > git checkout -f 746f88d770b2e869281661893865573549362065 # timeout=10 [2022-05-24T14:27:42.185Z] Commit message: "Merge commit 'aaa7e572fda13da2933300a631edf8df830ba1ce' into HEAD" [2022-05-24T14:27:42.209Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T14:27:42.199Z] > git rev-list --no-walk 62e997440414807b99501bc10b6a68f42e6b4436 # timeout=10 [2022-05-24T14:27:43.202Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-24T14:27:43.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T14:27:43.202Z] Dload Upload Total Spent Left Speed [2022-05-24T14:27:43.478Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 41676 0 --:--:-- --:--:-- --:--:-- 41535 [Pipeline] sh [2022-05-24T14:27:44.006Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-24T14:27:44.353Z] + sudo tee /etc/docker/daemon.new [2022-05-24T14:27:44.353Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-24T14:27:44.353Z] { [2022-05-24T14:27:44.353Z] "registry-mirrors": [ [2022-05-24T14:27:44.353Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-24T14:27:44.353Z] ], [2022-05-24T14:27:44.353Z] "bip": "10.250.0.254/24", [2022-05-24T14:27:44.353Z] "hosts": [ [2022-05-24T14:27:44.353Z] "tcp://0.0.0.0:5555", [2022-05-24T14:27:44.353Z] "unix:///var/run/docker.sock" [2022-05-24T14:27:44.353Z] ], [2022-05-24T14:27:44.353Z] "mtu": 1458, [2022-05-24T14:27:44.353Z] "selinux-enabled": true, [2022-05-24T14:27:44.353Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-24T14:27:44.353Z] } [Pipeline] sh [2022-05-24T14:27:44.716Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-24T14:27:45.219Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T14:28:03.579Z] provisioning config files... [2022-05-24T14:28:03.604Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/8@tmp/config8931832185980527598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:28:03.973Z] ---> docker-login.sh [2022-05-24T14:28:03.973Z] nexus3.edgexfoundry.org:10001 [2022-05-24T14:28:04.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:28:04.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:28:04.848Z] Configure a credential helper to remove this warning. See [2022-05-24T14:28:04.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:28:04.848Z] [2022-05-24T14:28:04.848Z] Login Succeeded [2022-05-24T14:28:04.848Z] nexus3.edgexfoundry.org:10002 [2022-05-24T14:28:05.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:28:05.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:28:05.396Z] Configure a credential helper to remove this warning. See [2022-05-24T14:28:05.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:28:05.396Z] [2022-05-24T14:28:05.396Z] Login Succeeded [2022-05-24T14:28:05.396Z] nexus3.edgexfoundry.org:10003 [2022-05-24T14:28:05.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:28:05.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:28:05.676Z] Configure a credential helper to remove this warning. See [2022-05-24T14:28:05.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:28:05.676Z] [2022-05-24T14:28:05.676Z] Login Succeeded [2022-05-24T14:28:05.676Z] nexus3.edgexfoundry.org:10004 [2022-05-24T14:28:06.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:28:06.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:28:06.279Z] Configure a credential helper to remove this warning. See [2022-05-24T14:28:06.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:28:06.279Z] [2022-05-24T14:28:06.279Z] Login Succeeded [2022-05-24T14:28:06.279Z] docker.io [2022-05-24T14:28:06.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T14:28:07.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T14:28:07.148Z] Configure a credential helper to remove this warning. See [2022-05-24T14:28:07.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T14:28:07.148Z] [2022-05-24T14:28:07.148Z] Login Succeeded [2022-05-24T14:28:07.148Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T14:28:07.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T14:28:07.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T14:28:07.746Z] ========================================================= [2022-05-24T14:28:07.746Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-24T14:28:07.746Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:28:08.096Z] + 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-05-24T14:28:08.374Z] Sending build context to Docker daemon 574.5kB [2022-05-24T14:28:08.374Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T14:28:08.374Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-24T14:28:08.652Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-24T14:28:08.652Z] 9b3977197b4f: Pulling fs layer [2022-05-24T14:28:08.652Z] 1a89e8eeedd5: Pulling fs layer [2022-05-24T14:28:08.652Z] 94645a83ff95: Pulling fs layer [2022-05-24T14:28:08.652Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-24T14:28:08.652Z] 0c92f367c5e7: Pulling fs layer [2022-05-24T14:28:08.652Z] 3096ccb668a1: Pulling fs layer [2022-05-24T14:28:08.652Z] e8cf19c19ddd: Pulling fs layer [2022-05-24T14:28:08.652Z] a4caa8a26152: Pulling fs layer [2022-05-24T14:28:08.652Z] 3f3a8bcf1eab: Waiting [2022-05-24T14:28:08.652Z] 0c92f367c5e7: Waiting [2022-05-24T14:28:08.652Z] 3096ccb668a1: Waiting [2022-05-24T14:28:08.652Z] e8cf19c19ddd: Waiting [2022-05-24T14:28:08.652Z] a4caa8a26152: Waiting [2022-05-24T14:28:08.652Z] 94645a83ff95: Download complete [2022-05-24T14:28:08.652Z] 1a89e8eeedd5: Verifying Checksum [2022-05-24T14:28:08.652Z] 1a89e8eeedd5: Download complete [2022-05-24T14:28:08.652Z] 0c92f367c5e7: Verifying Checksum [2022-05-24T14:28:08.652Z] 0c92f367c5e7: Download complete [2022-05-24T14:28:08.652Z] 3096ccb668a1: Verifying Checksum [2022-05-24T14:28:08.652Z] 3096ccb668a1: Download complete [2022-05-24T14:28:08.652Z] 9b3977197b4f: Verifying Checksum [2022-05-24T14:28:08.652Z] e8cf19c19ddd: Verifying Checksum [2022-05-24T14:28:08.652Z] e8cf19c19ddd: Download complete [2022-05-24T14:28:09.649Z] 9b3977197b4f: Pull complete [2022-05-24T14:28:09.931Z] 1a89e8eeedd5: Pull complete [2022-05-24T14:28:10.210Z] 94645a83ff95: Pull complete [2022-05-24T14:28:10.810Z] a4caa8a26152: Verifying Checksum [2022-05-24T14:28:10.810Z] a4caa8a26152: Download complete [2022-05-24T14:28:11.410Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-24T14:28:11.410Z] 3f3a8bcf1eab: Download complete [2022-05-24T14:28:23.826Z] 3f3a8bcf1eab: Pull complete [2022-05-24T14:28:23.826Z] 0c92f367c5e7: Pull complete [2022-05-24T14:28:23.826Z] 3096ccb668a1: Pull complete [2022-05-24T14:28:23.826Z] e8cf19c19ddd: Pull complete [2022-05-24T14:28:30.565Z] a4caa8a26152: Pull complete [2022-05-24T14:28:30.565Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-24T14:28:30.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-24T14:28:30.565Z] ---> 725f1c02e7f9 [2022-05-24T14:28:30.565Z] Step 3/12 : ARG MAKE="make build" [2022-05-24T14:28:31.568Z] ---> Running in 39fd74fde736 [2022-05-24T14:28:31.568Z] Removing intermediate container 39fd74fde736 [2022-05-24T14:28:31.568Z] ---> 1bfab019d241 [2022-05-24T14:28:31.568Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T14:28:31.843Z] ---> Running in c86d7a1fdf69 [2022-05-24T14:28:32.115Z] Removing intermediate container c86d7a1fdf69 [2022-05-24T14:28:32.115Z] ---> 1a6248a7df53 [2022-05-24T14:28:32.115Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-24T14:28:32.115Z] ---> Running in 145f25b6f515 [2022-05-24T14:28:32.390Z] Removing intermediate container 145f25b6f515 [2022-05-24T14:28:32.390Z] ---> 9b1754c30940 [2022-05-24T14:28:32.390Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T14:28:32.666Z] ---> Running in 97abfaab5fb8 [2022-05-24T14:28:34.643Z] Removing intermediate container 97abfaab5fb8 [2022-05-24T14:28:34.643Z] ---> c614b66cc746 [2022-05-24T14:28:34.643Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T14:28:34.643Z] ---> Running in db138a3bc831 [2022-05-24T14:28:35.241Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T14:28:36.221Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T14:28:37.205Z] (1/14) Installing libintl (0.21-r0) [2022-05-24T14:28:37.205Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-24T14:28:37.205Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-05-24T14:28:37.205Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-05-24T14:28:37.478Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-05-24T14:28:37.478Z] (6/14) Installing udev-init-scripts (35-r0) [2022-05-24T14:28:37.752Z] Executing udev-init-scripts-35-r0.post-install [2022-05-24T14:28:37.752Z] (7/14) Installing libblkid (2.37.4-r0) [2022-05-24T14:28:37.752Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-05-24T14:28:37.752Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-05-24T14:28:38.025Z] (10/14) Installing kmod-libs (29-r2) [2022-05-24T14:28:38.025Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-05-24T14:28:38.025Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-24T14:28:38.297Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-24T14:28:38.297Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-05-24T14:28:38.569Z] Executing busybox-1.34.1-r3.trigger [2022-05-24T14:28:38.569Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-24T14:28:38.569Z] OK: 227 MiB in 66 packages [2022-05-24T14:28:39.554Z] Removing intermediate container db138a3bc831 [2022-05-24T14:28:39.554Z] ---> 37c5cdafb22e [2022-05-24T14:28:39.554Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-24T14:28:39.830Z] ---> Running in 8c8f20f3c44a [2022-05-24T14:28:40.102Z] Removing intermediate container 8c8f20f3c44a [2022-05-24T14:28:40.103Z] ---> 0f4e0392aae5 [2022-05-24T14:28:40.103Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-24T14:28:40.388Z] ---> 3ef6bf0622bf [2022-05-24T14:28:40.388Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T14:28:40.670Z] ---> Running in 7118b633d79b [2022-05-24T14:29:27.707Z] Removing intermediate container 7118b633d79b [2022-05-24T14:29:27.707Z] ---> 3ee9e2ae6fc7 [2022-05-24T14:29:27.707Z] Step 11/12 : COPY . . [2022-05-24T14:29:27.707Z] ---> 20c5124be591 [2022-05-24T14:29:27.707Z] Step 12/12 : RUN ${MAKE} [2022-05-24T14:29:27.707Z] ---> Running in ed061dfe0b4f [2022-05-24T14:29:27.707Z] noop [2022-05-24T14:29:27.707Z] Removing intermediate container ed061dfe0b4f [2022-05-24T14:29:27.707Z] ---> 2bbc8d6e7a7f [2022-05-24T14:29:27.707Z] Successfully built 2bbc8d6e7a7f [2022-05-24T14:29:27.707Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:29:28.056Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T14:29:28.056Z] . [Pipeline] withDockerContainer [2022-05-24T14:29:28.299Z] prd-ubuntu20.04-docker-arm64-4c-16g-64484 does not seem to be running inside a container [2022-05-24T14:29:28.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-24T14:29:29.645Z] $ docker top 0d3e1cc1963e8feab0f5e6631774ec375de0ecce2fc4f93bd75a102b6f8c20d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T14:29:30.542Z] + go version [2022-05-24T14:29:30.542Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-24T14:29:30.573Z] $ docker stop --time=1 0d3e1cc1963e8feab0f5e6631774ec375de0ecce2fc4f93bd75a102b6f8c20d9 [2022-05-24T14:29:32.152Z] $ docker rm -f 0d3e1cc1963e8feab0f5e6631774ec375de0ecce2fc4f93bd75a102b6f8c20d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:29:32.713Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T14:29:32.713Z] . [Pipeline] withDockerContainer [2022-05-24T14:29:32.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-64484 does not seem to be running inside a container [2022-05-24T14:29:33.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-24T14:29:34.314Z] $ docker top c1d05857c99098f5fc5dcc6dc84e55d08f1f64cf65691e21ff602a7bb2f00bd6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T14:29:35.237Z] + make test [2022-05-24T14:29:35.237Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-24T14:29:36.683Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-24T14:30:58.561Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-24T14:30:58.561Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-24T14:30:58.561Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-24T14:30:58.561Z] CGO_ENABLED=1 go vet ./... [2022-05-24T14:31:20.787Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T14:31:20.787Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T14:31:20.787Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-24T14:31:21.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-24T14:31:21.805Z] $ docker stop --time=1 c1d05857c99098f5fc5dcc6dc84e55d08f1f64cf65691e21ff602a7bb2f00bd6 [2022-05-24T14:31:23.611Z] $ docker rm -f c1d05857c99098f5fc5dcc6dc84e55d08f1f64cf65691e21ff602a7bb2f00bd6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T14:31:24.542Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-24T14:31:24.564Z] Warning: overwriting stash ‘coverage-report’ [2022-05-24T14:31:24.990Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T14:31:25.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-24T14:31:25.723Z] + ls -al . [2022-05-24T14:31:25.723Z] total 164 [2022-05-24T14:31:25.723Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 14:31 . [2022-05-24T14:31:25.723Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 14:27 .. [2022-05-24T14:31:25.723Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 14:27 .git [2022-05-24T14:31:25.723Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:27 .github [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 414 May 24 14:27 .gitignore [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 14:27 .golangci.yml [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 77 May 24 14:27 .hadolint.yml [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 24 14:27 Attribution.txt [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 181 May 24 14:27 CHANGELOG.md [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 24 14:27 Dockerfile [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 678 May 24 14:27 GOVERNANCE.md [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 659 May 24 14:27 Jenkinsfile [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 24 14:27 LICENSE [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 2030 May 24 14:27 Makefile [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 622 May 24 14:27 OWNERS.md [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 8944 May 24 14:27 README.md [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 14:25 VERSION [2022-05-24T14:31:25.723Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:27 bin [2022-05-24T14:31:25.723Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:27 cmd [2022-05-24T14:31:25.723Z] -rw-r--r-- 1 jenkins jenkins 10 May 24 14:29 coverage.out [2022-05-24T14:31:25.723Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:27 docker-compose [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 14:27 docker-entrypoint.sh [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 24 14:27 go.mod [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 24 14:27 go.sum [2022-05-24T14:31:25.723Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:27 internal [2022-05-24T14:31:25.723Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:27 snap [2022-05-24T14:31:25.723Z] -rw-rw-r-- 1 jenkins jenkins 231 May 24 14:27 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:31:26.067Z] + 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=746f88d770b2e869281661893865573549362065 --label arch=arm64 --label version=0.0.0 . [2022-05-24T14:31:26.344Z] Sending build context to Docker daemon 575.5kB [2022-05-24T14:31:26.344Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T14:31:26.344Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-24T14:31:26.344Z] ---> 2bbc8d6e7a7f [2022-05-24T14:31:26.344Z] Step 3/29 : ARG MAKE="make build" [2022-05-24T14:31:26.344Z] ---> Running in c9114bfaa2cd [2022-05-24T14:31:26.943Z] Removing intermediate container c9114bfaa2cd [2022-05-24T14:31:26.943Z] ---> 2bfd9c8604d5 [2022-05-24T14:31:26.943Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T14:31:26.943Z] ---> Running in c2788a9ebe02 [2022-05-24T14:31:27.217Z] Removing intermediate container c2788a9ebe02 [2022-05-24T14:31:27.217Z] ---> eed237f37aa9 [2022-05-24T14:31:27.217Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-24T14:31:27.217Z] ---> Running in a53d45c1cf8a [2022-05-24T14:31:27.493Z] Removing intermediate container a53d45c1cf8a [2022-05-24T14:31:27.493Z] ---> 2b2d5874e04a [2022-05-24T14:31:27.493Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T14:31:27.493Z] ---> Running in 429acc1e8a38 [2022-05-24T14:31:29.473Z] Removing intermediate container 429acc1e8a38 [2022-05-24T14:31:29.473Z] ---> d0a437e965c4 [2022-05-24T14:31:29.473Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T14:31:29.473Z] ---> Running in 01bf95241d82 [2022-05-24T14:31:30.079Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T14:31:31.059Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T14:31:32.037Z] OK: 227 MiB in 66 packages [2022-05-24T14:31:32.634Z] Removing intermediate container 01bf95241d82 [2022-05-24T14:31:32.634Z] ---> 1b3ca6b43240 [2022-05-24T14:31:32.634Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-24T14:31:32.907Z] ---> Running in 29f1dfb2c6b3 [2022-05-24T14:31:33.181Z] Removing intermediate container 29f1dfb2c6b3 [2022-05-24T14:31:33.181Z] ---> 916ecb90b0cb [2022-05-24T14:31:33.181Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-24T14:31:33.778Z] ---> 5565183b315d [2022-05-24T14:31:33.778Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T14:31:33.778Z] ---> Running in 5493f0c4d3d6 [2022-05-24T14:31:35.763Z] Removing intermediate container 5493f0c4d3d6 [2022-05-24T14:31:35.763Z] ---> a5bc6e28c4c0 [2022-05-24T14:31:35.763Z] Step 11/29 : COPY . . [2022-05-24T14:31:36.361Z] ---> 7173e02a2151 [2022-05-24T14:31:36.361Z] Step 12/29 : RUN ${MAKE} [2022-05-24T14:31:36.644Z] ---> Running in c3cfec48f565 [2022-05-24T14:31:37.621Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-05-24T14:33:44.508Z] Removing intermediate container c3cfec48f565 [2022-05-24T14:33:44.508Z] ---> bb192eef800f [2022-05-24T14:33:44.508Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-24T14:33:44.508Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-24T14:33:44.508Z] eab2503cf8f4: Pulling fs layer [2022-05-24T14:33:44.508Z] 97cd0a44c592: Pulling fs layer [2022-05-24T14:33:44.508Z] 97cd0a44c592: Download complete [2022-05-24T14:33:44.508Z] eab2503cf8f4: Verifying Checksum [2022-05-24T14:33:44.508Z] eab2503cf8f4: Download complete [2022-05-24T14:33:44.508Z] eab2503cf8f4: Pull complete [2022-05-24T14:33:44.508Z] 97cd0a44c592: Pull complete [2022-05-24T14:33:44.508Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-24T14:33:44.508Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-24T14:33:44.508Z] ---> 7f763cca56b3 [2022-05-24T14:33:44.508Z] Step 14/29 : FROM alpine:3.15 [2022-05-24T14:33:44.508Z] 3.15: Pulling from library/alpine [2022-05-24T14:33:44.508Z] 9981e73032c8: Pulling fs layer [2022-05-24T14:33:44.508Z] 9981e73032c8: Verifying Checksum [2022-05-24T14:33:44.508Z] 9981e73032c8: Download complete [2022-05-24T14:33:44.508Z] 9981e73032c8: Pull complete [2022-05-24T14:33:44.508Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-24T14:33:44.508Z] Status: Downloaded newer image for alpine:3.15 [2022-05-24T14:33:44.508Z] ---> 3fb3c9af89a9 [2022-05-24T14:33:44.508Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-24T14:33:44.508Z] ---> Running in 1662a15077f5 [2022-05-24T14:33:44.508Z] Removing intermediate container 1662a15077f5 [2022-05-24T14:33:44.508Z] ---> 6b591e204979 [2022-05-24T14:33:44.508Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-24T14:33:44.508Z] ---> Running in dbc120c899b2 [2022-05-24T14:33:44.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T14:33:44.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T14:33:44.508Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-05-24T14:33:44.509Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-05-24T14:33:44.509Z] (3/73) Installing libxau (1.0.9-r0) [2022-05-24T14:33:44.509Z] (4/73) Installing libmd (1.0.3-r0) [2022-05-24T14:33:44.509Z] (5/73) Installing libbsd (0.11.3-r1) [2022-05-24T14:33:44.509Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-05-24T14:33:44.509Z] (7/73) Installing libxcb (1.14-r2) [2022-05-24T14:33:44.509Z] (8/73) Installing libx11 (1.7.2-r0) [2022-05-24T14:33:44.509Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-05-24T14:33:44.509Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-05-24T14:33:44.509Z] (11/73) Installing expat (2.4.7-r0) [2022-05-24T14:33:44.509Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-05-24T14:33:44.509Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-05-24T14:33:44.509Z] (14/73) Installing libpng (1.6.37-r1) [2022-05-24T14:33:44.509Z] (15/73) Installing freetype (2.11.1-r2) [2022-05-24T14:33:44.509Z] (16/73) Installing libuuid (2.37.4-r0) [2022-05-24T14:33:44.509Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-05-24T14:33:44.509Z] (18/73) Installing fribidi (1.0.11-r0) [2022-05-24T14:33:44.509Z] (19/73) Installing libffi (3.4.2-r1) [2022-05-24T14:33:44.509Z] (20/73) Installing libintl (0.21-r0) [2022-05-24T14:33:44.509Z] (21/73) Installing libblkid (2.37.4-r0) [2022-05-24T14:33:44.509Z] (22/73) Installing libmount (2.37.4-r0) [2022-05-24T14:33:44.509Z] (23/73) Installing pcre (8.45-r1) [2022-05-24T14:33:44.509Z] (24/73) Installing glib (2.70.1-r0) [2022-05-24T14:33:44.509Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-05-24T14:33:44.509Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-05-24T14:33:44.509Z] (27/73) Installing libass (0.15.2-r0) [2022-05-24T14:33:44.509Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-05-24T14:33:44.509Z] (29/73) Installing gmp (6.2.1-r1) [2022-05-24T14:33:44.509Z] (30/73) Installing nettle (3.7.3-r0) [2022-05-24T14:33:44.509Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-05-24T14:33:44.509Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-05-24T14:33:44.509Z] (33/73) Installing libunistring (0.9.10-r1) [2022-05-24T14:33:44.509Z] (34/73) Installing gnutls (3.7.1-r0) [2022-05-24T14:33:44.509Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-24T14:33:44.509Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-24T14:33:44.509Z] (37/73) Installing lame (3.100-r0) [2022-05-24T14:33:44.509Z] (38/73) Installing opus (1.3.1-r1) [2022-05-24T14:33:44.509Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-05-24T14:33:44.509Z] (40/73) Installing soxr (0.1.3-r2) [2022-05-24T14:33:44.509Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-05-24T14:33:44.509Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-24T14:33:44.509Z] (43/73) Installing libsrt (1.4.2-r1) [2022-05-24T14:33:44.509Z] (44/73) Installing libssh (0.9.6-r1) [2022-05-24T14:33:44.509Z] (45/73) Installing libogg (1.3.5-r0) [2022-05-24T14:33:44.509Z] (46/73) Installing libtheora (1.1.1-r16) [2022-05-24T14:33:44.509Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-05-24T14:33:44.509Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-05-24T14:33:44.509Z] (49/73) Installing libxext (1.3.4-r0) [2022-05-24T14:33:44.509Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-05-24T14:33:44.509Z] (51/73) Installing libdrm (2.4.109-r0) [2022-05-24T14:33:44.509Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-05-24T14:33:44.509Z] (53/73) Installing libva (2.13.0-r0) [2022-05-24T14:33:44.509Z] (54/73) Installing libvdpau (1.4-r0) [2022-05-24T14:33:44.509Z] (55/73) Installing vidstab (1.1.0-r1) [2022-05-24T14:33:44.509Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-05-24T14:33:44.509Z] (57/73) Installing libvpx (1.10.0-r0) [2022-05-24T14:33:44.509Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-05-24T14:33:44.509Z] (59/73) Installing libwebp (1.2.2-r0) [2022-05-24T14:33:44.509Z] (60/73) Installing x264-libs (20210613-r0) [2022-05-24T14:33:44.509Z] (61/73) Installing x265-libs (3.5-r0) [2022-05-24T14:33:44.509Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-05-24T14:33:44.509Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-05-24T14:33:44.509Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-05-24T14:33:44.509Z] (65/73) Installing udev-init-scripts (35-r0) [2022-05-24T14:33:44.509Z] Executing udev-init-scripts-35-r0.post-install [2022-05-24T14:33:44.509Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-24T14:33:44.509Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-05-24T14:33:44.509Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-05-24T14:33:44.509Z] (69/73) Installing kmod-libs (29-r2) [2022-05-24T14:33:44.509Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-05-24T14:33:44.509Z] (71/73) Installing libsodium (1.0.18-r0) [2022-05-24T14:33:44.509Z] (72/73) Installing libzmq (4.3.4-r0) [2022-05-24T14:33:44.509Z] (73/73) Installing zeromq (4.3.4-r0) [2022-05-24T14:33:44.509Z] Executing busybox-1.34.1-r5.trigger [2022-05-24T14:33:44.509Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-24T14:33:44.509Z] OK: 67 MiB in 87 packages [2022-05-24T14:33:44.509Z] Removing intermediate container dbc120c899b2 [2022-05-24T14:33:44.509Z] ---> c864393fb553 [2022-05-24T14:33:44.509Z] Step 17/29 : WORKDIR / [2022-05-24T14:33:44.509Z] ---> Running in d9fd4105aec9 [2022-05-24T14:33:44.785Z] Removing intermediate container d9fd4105aec9 [2022-05-24T14:33:44.785Z] ---> d5d0fbd7f4eb [2022-05-24T14:33:44.785Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-24T14:33:46.770Z] ---> 15a0dbcc60c7 [2022-05-24T14:33:46.770Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-24T14:33:46.770Z] ---> 0c727f739638 [2022-05-24T14:33:46.770Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-24T14:33:47.366Z] ---> adc43e360cca [2022-05-24T14:33:47.366Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-24T14:33:47.972Z] ---> 90ae0d403482 [2022-05-24T14:33:47.972Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-24T14:33:48.575Z] ---> b46cbab471f1 [2022-05-24T14:33:48.575Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-24T14:33:49.561Z] ---> f049931cf926 [2022-05-24T14:33:49.561Z] Step 24/29 : EXPOSE 59983 [2022-05-24T14:33:49.561Z] ---> Running in 212a6be168c7 [2022-05-24T14:33:49.841Z] Removing intermediate container 212a6be168c7 [2022-05-24T14:33:49.841Z] ---> abded8007844 [2022-05-24T14:33:49.841Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-24T14:33:50.118Z] ---> Running in 1afd2d6c33bc [2022-05-24T14:33:50.393Z] Removing intermediate container 1afd2d6c33bc [2022-05-24T14:33:50.393Z] ---> acbb2ac6a867 [2022-05-24T14:33:50.393Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-24T14:33:50.393Z] ---> Running in 4a3ec71cc38c [2022-05-24T14:33:50.670Z] Removing intermediate container 4a3ec71cc38c [2022-05-24T14:33:50.670Z] ---> e2c3a0ec39e5 [2022-05-24T14:33:50.670Z] Step 27/29 : LABEL arch=arm64 [2022-05-24T14:33:50.670Z] ---> Running in 2d2f68c2eca0 [2022-05-24T14:33:51.275Z] Removing intermediate container 2d2f68c2eca0 [2022-05-24T14:33:51.275Z] ---> 35983c1108ca [2022-05-24T14:33:51.275Z] Step 28/29 : LABEL git_sha=746f88d770b2e869281661893865573549362065 [2022-05-24T14:33:51.275Z] ---> Running in c62a02578b74 [2022-05-24T14:33:51.550Z] Removing intermediate container c62a02578b74 [2022-05-24T14:33:51.550Z] ---> 9d496e4be38e [2022-05-24T14:33:51.550Z] Step 29/29 : LABEL version=0.0.0 [2022-05-24T14:33:51.550Z] ---> Running in 547c68ac4890 [2022-05-24T14:33:51.825Z] Removing intermediate container 547c68ac4890 [2022-05-24T14:33:51.825Z] ---> 4c2d9bcaf4bc [2022-05-24T14:33:51.825Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-24T14:33:51.825Z] Successfully built 4c2d9bcaf4bc [2022-05-24T14:33:51.825Z] Successfully tagged device-usb-camera-arm64:latest [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] sh [2022-05-24T14:33:52.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T14:33:52.290Z] [2022-05-24T14:33:52.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:33:52.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T14:33:52.913Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-24T14:33:52.913Z] 8998bd30e6a1: Pulling fs layer [2022-05-24T14:33:52.913Z] 04944245beec: Pulling fs layer [2022-05-24T14:33:52.913Z] 699f458cf7ca: Pulling fs layer [2022-05-24T14:33:52.913Z] 765212b225bb: Pulling fs layer [2022-05-24T14:33:52.913Z] f23df028b6ca: Pulling fs layer [2022-05-24T14:33:52.913Z] d65c8cfc05b1: Pulling fs layer [2022-05-24T14:33:52.913Z] 2437ff75d9bd: Pulling fs layer [2022-05-24T14:33:52.913Z] f23df028b6ca: Waiting [2022-05-24T14:33:52.913Z] d65c8cfc05b1: Waiting [2022-05-24T14:33:52.913Z] 2437ff75d9bd: Waiting [2022-05-24T14:33:52.913Z] 765212b225bb: Waiting [2022-05-24T14:33:52.913Z] 04944245beec: Verifying Checksum [2022-05-24T14:33:52.913Z] 04944245beec: Download complete [2022-05-24T14:33:52.913Z] 765212b225bb: Download complete [2022-05-24T14:33:52.913Z] f23df028b6ca: Verifying Checksum [2022-05-24T14:33:52.913Z] f23df028b6ca: Download complete [2022-05-24T14:33:52.913Z] d65c8cfc05b1: Verifying Checksum [2022-05-24T14:33:52.913Z] d65c8cfc05b1: Download complete [2022-05-24T14:33:53.191Z] 699f458cf7ca: Verifying Checksum [2022-05-24T14:33:53.191Z] 699f458cf7ca: Download complete [2022-05-24T14:33:53.468Z] 8998bd30e6a1: Verifying Checksum [2022-05-24T14:33:53.468Z] 8998bd30e6a1: Download complete [2022-05-24T14:33:55.452Z] 2437ff75d9bd: Verifying Checksum [2022-05-24T14:33:55.452Z] 2437ff75d9bd: Download complete [2022-05-24T14:33:58.090Z] 8998bd30e6a1: Pull complete [2022-05-24T14:33:58.090Z] 04944245beec: Pull complete [2022-05-24T14:33:59.528Z] 699f458cf7ca: Pull complete [2022-05-24T14:33:59.804Z] 765212b225bb: Pull complete [2022-05-24T14:34:00.795Z] f23df028b6ca: Pull complete [2022-05-24T14:34:00.795Z] d65c8cfc05b1: Pull complete [2022-05-24T14:34:15.902Z] 2437ff75d9bd: Pull complete [2022-05-24T14:34:15.902Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-24T14:34:15.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T14:34:15.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-24T14:34:16.140Z] prd-ubuntu20.04-docker-arm64-4c-16g-64484 does not seem to be running inside a container [2022-05-24T14:34:16.233Z] $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-24T14:34:18.719Z] $ docker top a2d4d427916fc00258fc5e1ef760ac660f9021e328e1c7665e00a3f534c65009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:34:19.632Z] ---> job-cost.sh [2022-05-24T14:34:19.632Z] lf-activate-venv: SKIPPING [2022-05-24T14:34:19.632Z] INFO: No Stack... [2022-05-24T14:34:19.909Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-24T14:34:20.884Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T14:34:21.554Z] + cat /w/workspace/device-usb-camera/8/archives/cost.csv [2022-05-24T14:34:21.554Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T14:34:21.617Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [2022-05-24T14:34:21.623Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] did not exist. Created. [2022-05-24T14:34:21.623Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T14:34:22.308Z] /w/workspace/device-usb-camera/8@tmp/durable-e7913faa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-24T14:34:22.995Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-24T14:34:23.016Z] Warning: overwriting stash ‘stack-cost’ [2022-05-24T14:34:23.064Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T14:34:23.070Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T14:34:23.094Z] $ docker stop --time=1 a2d4d427916fc00258fc5e1ef760ac660f9021e328e1c7665e00a3f534c65009 [2022-05-24T14:34:24.603Z] $ docker rm -f a2d4d427916fc00258fc5e1ef760ac660f9021e328e1c7665e00a3f534c65009 [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-05-24T14:34:25.098Z] provisioning config files... [2022-05-24T14:34:25.108Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config3397307378710943013tmp [Pipeline] { [Pipeline] sh [2022-05-24T14:34:25.403Z] + set +x [2022-05-24T14:34:25.403Z] + + curl -sbash https://codecov.io/bash -s [2022-05-24T14:34:25.403Z] -- [2022-05-24T14:34:25.403Z] [2022-05-24T14:34:25.403Z] _____ _ [2022-05-24T14:34:25.403Z] / ____| | | [2022-05-24T14:34:25.403Z] | | ___ __| | ___ ___ _____ __ [2022-05-24T14:34:25.403Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-24T14:34:25.403Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-24T14:34:25.403Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-24T14:34:25.403Z] Bash-1.0.6 [2022-05-24T14:34:25.403Z] [2022-05-24T14:34:25.403Z] [2022-05-24T14:34:25.403Z] ==> git version 2.25.1 found [2022-05-24T14:34:25.404Z] ==> 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-05-24T14:34:25.404Z] Release-Date: 2020-01-08 [2022-05-24T14:34:25.404Z] 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-05-24T14:34:25.404Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-24T14:34:25.404Z] ==> Jenkins CI detected. [2022-05-24T14:34:25.404Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-05-24T14:34:25.404Z] project root: . [2022-05-24T14:34:25.404Z] --> token set from env [2022-05-24T14:34:25.404Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-24T14:34:25.404Z] ==> Running gcov in . (disable via -X gcov) [2022-05-24T14:34:25.404Z] ==> Python coveragepy not found [2022-05-24T14:34:25.404Z] ==> Searching for coverage reports in: [2022-05-24T14:34:25.404Z] + . [2022-05-24T14:34:25.404Z] -> Found 1 reports [2022-05-24T14:34:25.404Z] ==> Detecting git/mercurial file structure [2022-05-24T14:34:25.404Z] ==> Reading reports [2022-05-24T14:34:25.404Z] + ./coverage.out bytes=10 [2022-05-24T14:34:25.664Z] ==> Appending adjustments [2022-05-24T14:34:25.664Z] https://docs.codecov.io/docs/fixing-reports [2022-05-24T14:34:25.664Z] + Found adjustments [2022-05-24T14:34:25.664Z] ==> Gzipping contents [2022-05-24T14:34:25.664Z] 4.0K /tmp/codecov.7k7n4I.gz [2022-05-24T14:34:25.664Z] ==> Uploading reports [2022-05-24T14:34:25.664Z] url: https://codecov.io [2022-05-24T14:34:25.664Z] query: branch=PR-30&commit=7adc8ffbb9bd74602b0443fbdab1727ab51af9b8&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-05-24T14:34:25.664Z] -> Pinging Codecov [2022-05-24T14:34:25.664Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=7adc8ffbb9bd74602b0443fbdab1727ab51af9b8&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-05-24T14:34:25.925Z] -> Uploading to [2022-05-24T14:34:25.925Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-24/73D8F5FF140700D3E01443B452E23636/7adc8ffbb9bd74602b0443fbdab1727ab51af9b8/aa5fd391-e4b8-4bb1-ac8c-2dc565d68d9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T143425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59b44467f5ca8d1d762366ec88454620d71bd06b8cb604a292c520a5f20a75bf [2022-05-24T14:34:25.925Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T14:34:25.925Z] Dload Upload Total Spent Left Speed [2022-05-24T14:34:26.187Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1841 0 0 100 1841 0 7702 --:--:-- --:--:-- --:--:-- 7702 [2022-05-24T14:34:26.187Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] } [2022-05-24T14:34:26.195Z] 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-05-24T14:34:26.987Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-05-24T14:34:26.987Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-24T14:34:26.987Z] total 16 [2022-05-24T14:34:26.987Z] drwxr-xr-x 3 root root 4096 May 24 14:27 . [2022-05-24T14:34:26.987Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 14:27 .. [2022-05-24T14:34:26.987Z] drwxr-xr-x 2 root root 4096 May 24 14:27 cost [2022-05-24T14:34:26.987Z] -rw-r--r-- 1 root root 87 May 24 14:27 cost.csv [2022-05-24T14:34:26.987Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-24T14:34:26.987Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-24T14:34:26.987Z] total 16 [2022-05-24T14:34:26.987Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 14:27 . [2022-05-24T14:34:26.987Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 14:27 .. [2022-05-24T14:34:26.987Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 14:27 cost [2022-05-24T14:34:26.987Z] -rw-r--r-- 1 jenkins jenkins 87 May 24 14:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:34:27.283Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:34:28.155Z] ---> package-listing.sh [2022-05-24T14:34:28.155Z] ++ facter osfamily [2022-05-24T14:34:28.155Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-24T14:34:28.416Z] + OS_FAMILY=debian [2022-05-24T14:34:28.416Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-05-24T14:34:28.416Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-24T14:34:28.416Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-24T14:34:28.416Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-24T14:34:28.416Z] + PACKAGES=/tmp/packages_start.txt [2022-05-24T14:34:28.416Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-05-24T14:34:28.416Z] + PACKAGES=/tmp/packages_end.txt [2022-05-24T14:34:28.416Z] + case "${OS_FAMILY}" in [2022-05-24T14:34:28.416Z] + dpkg -l [2022-05-24T14:34:28.416Z] + grep '^ii' [2022-05-24T14:34:28.416Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-24T14:34:28.416Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-24T14:34:28.416Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-24T14:34:28.416Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-05-24T14:34:28.416Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-05-24T14:34:28.416Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo [2022-05-24T14:34:28.429Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-24T14:34:28.710Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-24T14:34:29.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T14:34:29.271Z] . [Pipeline] withDockerContainer [2022-05-24T14:34:29.346Z] prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container [2022-05-24T14:34:29.389Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-24T14:34:29.626Z] $ docker top e94d5f783c172922e68d972fb94ef687789024bf14ffe2974ccb0216c36fb9e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T14:34:29.981Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-24T14:34:30.271Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-24T14:34:30.565Z] + ls /var/log/sa-host [2022-05-24T14:34:30.565Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T14:34:30.799Z] provisioning config files... [2022-05-24T14:34:30.809Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4296098646579038510tmp [Pipeline] { [Pipeline] echo [2022-05-24T14:34:30.825Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:34:31.115Z] ---> create-netrc.sh [Pipeline] } [2022-05-24T14:34:31.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:34:31.456Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-24T14:34:31.466Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:34:31.758Z] ---> sudo-logs.sh [2022-05-24T14:34:31.758Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-24T14:34:31.782Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:34:32.066Z] ---> job-cost.sh [2022-05-24T14:34:32.066Z] lf-activate-venv: SKIPPING [2022-05-24T14:34:32.066Z] DEBUG: total: 0.2199999988079071 [2022-05-24T14:34:32.066Z] INFO: Retrieving Stack Cost... [2022-05-24T14:34:32.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T14:34:32.898Z] INFO: Archiving Costs [Pipeline] echo [2022-05-24T14:34:32.909Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T14:34:33.195Z] ---> logs-deploy.sh [2022-05-24T14:34:33.196Z] lf-activate-venv: SKIPPING [2022-05-24T14:34:33.196Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/8 [2022-05-24T14:34:33.196Z] INFO: archiving workspace using pattern(s): [2022-05-24T14:34:34.135Z] Archives upload complete. [2022-05-24T14:34:34.135Z] INFO: archiving logs to Nexus