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 1f03470b1734dc3652a250f94a689b6ea8731206+f39f8737115c4aee3eed177658c873badef7abfd (7715612246e682c02381a1bc80c92960bcead311) 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-ssh12414487255928972508.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-ssh24276564437567172.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10641266396661147225.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 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-ssh17101320898347385278.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11242574161497071269.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-263 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 f39f8737115c4aee3eed177658c873badef7abfd into PR head commit 1f03470b1734dc3652a250f94a689b6ea8731206 Merge succeeded, producing 1f03470b1734dc3652a250f94a689b6ea8731206 Checking out Revision 1f03470b1734dc3652a250f94a689b6ea8731206 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f03470b1734dc3652a250f94a689b6ea8731206 # 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 f39f8737115c4aee3eed177658c873badef7abfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f03470b1734dc3652a250f94a689b6ea8731206 # timeout=10 Commit message: "docs: package rtsp-simple-server's licence" > git rev-list --no-walk e9b21ae2d7126915138f0c91ed5cea9bfb935446 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-27T15:47:48.852Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-27T15:47:48.913Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-27T15:47:48.925Z] ========================================================= [2022-05-27T15:47:48.925Z] EdgeX Global Pipelines Version Info [2022-05-27T15:47:48.925Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:47:49.699Z] ------------------- [2022-05-27T15:47:49.699Z] stable info: [2022-05-27T15:47:49.699Z] ------------------- [2022-05-27T15:47:49.699Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T15:47:49.699Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T15:47:49.699Z] Message: update stable to v1.0.230 [2022-05-27T15:47:50.272Z] ------------------- [2022-05-27T15:47:50.272Z] experimental info: [2022-05-27T15:47:50.272Z] ------------------- [2022-05-27T15:47:50.272Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T15:47:50.272Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T15:47:50.272Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-27T15:47:50.542Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-05-27T15:47:50.551Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-05-27T15:47:50.559Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-27T15:47:50.567Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-27T15:47:50.575Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-27T15:47:50.583Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-27T15:47:50.591Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-27T15:47:50.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-27T15:47:50.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-27T15:47:50.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-27T15:47:50.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-27T15:47:50.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-05-27T15:47:50.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-27T15:47:50.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-27T15:47:50.654Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T15:47:50.662Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T15:47:50.681Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T15:47:50.696Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T15:47:50.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-27T15:47:50.718Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-27T15:47:50.733Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-27T15:47:50.745Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-27T15:47:50.759Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-27T15:47:50.769Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-27T15:47:50.782Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-27T15:47:50.799Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-27T15:47:50.810Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-05-27T15:47:50.822Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-05-27T15:47:50.840Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-05-27T15:47:50.858Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] echo [2022-05-27T15:47:50.874Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f03470 [Pipeline] echo [2022-05-27T15:47:50.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T15:47:50.927Z] provisioning config files... [2022-05-27T15:47:50.945Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4055717655723316082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:47:51.252Z] ---> docker-login.sh [2022-05-27T15:47:51.252Z] nexus3.edgexfoundry.org:10001 [2022-05-27T15:47:51.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:47:51.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:47:51.514Z] Configure a credential helper to remove this warning. See [2022-05-27T15:47:51.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:47:51.514Z] [2022-05-27T15:47:51.514Z] Login Succeeded [2022-05-27T15:47:51.514Z] nexus3.edgexfoundry.org:10002 [2022-05-27T15:47:51.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:47:51.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:47:51.775Z] Configure a credential helper to remove this warning. See [2022-05-27T15:47:51.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:47:51.775Z] [2022-05-27T15:47:51.775Z] Login Succeeded [2022-05-27T15:47:51.775Z] nexus3.edgexfoundry.org:10003 [2022-05-27T15:47:51.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:47:51.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:47:51.775Z] Configure a credential helper to remove this warning. See [2022-05-27T15:47:51.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:47:51.775Z] [2022-05-27T15:47:51.775Z] Login Succeeded [2022-05-27T15:47:51.775Z] nexus3.edgexfoundry.org:10004 [2022-05-27T15:47:52.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:47:52.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:47:52.036Z] Configure a credential helper to remove this warning. See [2022-05-27T15:47:52.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:47:52.036Z] [2022-05-27T15:47:52.036Z] Login Succeeded [2022-05-27T15:47:52.036Z] docker.io [2022-05-27T15:47:52.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:47:52.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:47:52.608Z] Configure a credential helper to remove this warning. See [2022-05-27T15:47:52.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:47:52.608Z] [2022-05-27T15:47:52.608Z] Login Succeeded [2022-05-27T15:47:52.608Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T15:47:52.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-27T15:47:52.983Z] + git rev-list -1 --merges 1f03470b1734dc3652a250f94a689b6ea8731206~1..1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] echo [2022-05-27T15:47:53.016Z] -----------> git rev-list -1 --merges 1f03470b1734dc3652a250f94a689b6ea8731206~1..1f03470b1734dc3652a250f94a689b6ea8731206 1f03470b1734dc3652a250f94a689b6ea8731206 [false] [Pipeline] sh [2022-05-27T15:47:53.311Z] + git log --format=format:%s -1 1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] echo [2022-05-27T15:47:53.323Z] ========================================================= [2022-05-27T15:47:53.323Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-27T15:47:53.323Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T15:47:53.657Z] + git log --format=format:%s -1 1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] echo [2022-05-27T15:47:53.667Z] [semverPrep] GIT_COMMIT: 1f03470b1734dc3652a250f94a689b6ea8731206, Commit Message: docs: package rtsp-simple-server's licence [Pipeline] echo [2022-05-27T15:47:53.677Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-27T15:47:54.037Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-27T15:47:54.038Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-27T15:47:54.038Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-27T15:47:54.038Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-27T15:47:54.038Z] + + sudoecho tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts [2022-05-27T15:47:54.038Z] [2022-05-27T15:47:54.038Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:47:54.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T15:47:54.469Z] [2022-05-27T15:47:54.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:47:54.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T15:47:54.780Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-27T15:47:54.780Z] 1fe172e4850f: Pulling fs layer [2022-05-27T15:47:54.780Z] caf521ccaac6: Pulling fs layer [2022-05-27T15:47:54.780Z] 3ead6fa29328: Pulling fs layer [2022-05-27T15:47:54.780Z] 5c2a1cbceb83: Pulling fs layer [2022-05-27T15:47:54.780Z] a8d5f1318db7: Pulling fs layer [2022-05-27T15:47:54.780Z] c427282e49a2: Pulling fs layer [2022-05-27T15:47:54.780Z] 1827001aaf11: Pulling fs layer [2022-05-27T15:47:54.780Z] 0714d37db230: Pulling fs layer [2022-05-27T15:47:54.780Z] ac28cf19c067: Pulling fs layer [2022-05-27T15:47:54.780Z] ca983d60f3e2: Pulling fs layer [2022-05-27T15:47:54.780Z] 9f894cec8388: Pulling fs layer [2022-05-27T15:47:54.780Z] 5c2a1cbceb83: Waiting [2022-05-27T15:47:54.780Z] a8d5f1318db7: Waiting [2022-05-27T15:47:54.780Z] c427282e49a2: Waiting [2022-05-27T15:47:54.780Z] 1827001aaf11: Waiting [2022-05-27T15:47:54.780Z] 0714d37db230: Waiting [2022-05-27T15:47:54.780Z] 9f894cec8388: Waiting [2022-05-27T15:47:54.780Z] ac28cf19c067: Waiting [2022-05-27T15:47:54.780Z] ca983d60f3e2: Waiting [2022-05-27T15:47:54.780Z] caf521ccaac6: Verifying Checksum [2022-05-27T15:47:54.780Z] caf521ccaac6: Download complete [2022-05-27T15:47:54.780Z] 5c2a1cbceb83: Verifying Checksum [2022-05-27T15:47:54.780Z] 5c2a1cbceb83: Download complete [2022-05-27T15:47:55.043Z] a8d5f1318db7: Verifying Checksum [2022-05-27T15:47:55.043Z] a8d5f1318db7: Download complete [2022-05-27T15:47:55.043Z] 3ead6fa29328: Verifying Checksum [2022-05-27T15:47:55.043Z] 3ead6fa29328: Download complete [2022-05-27T15:47:55.043Z] c427282e49a2: Download complete [2022-05-27T15:47:55.043Z] 0714d37db230: Download complete [2022-05-27T15:47:55.043Z] ac28cf19c067: Download complete [2022-05-27T15:47:55.043Z] ca983d60f3e2: Verifying Checksum [2022-05-27T15:47:55.043Z] ca983d60f3e2: Download complete [2022-05-27T15:47:55.043Z] 9f894cec8388: Verifying Checksum [2022-05-27T15:47:55.043Z] 9f894cec8388: Download complete [2022-05-27T15:47:55.043Z] 1fe172e4850f: Download complete [2022-05-27T15:47:55.303Z] 1827001aaf11: Verifying Checksum [2022-05-27T15:47:55.303Z] 1827001aaf11: Download complete [2022-05-27T15:47:56.690Z] 1fe172e4850f: Pull complete [2022-05-27T15:47:56.690Z] caf521ccaac6: Pull complete [2022-05-27T15:47:57.271Z] 3ead6fa29328: Pull complete [2022-05-27T15:47:57.271Z] 5c2a1cbceb83: Pull complete [2022-05-27T15:47:57.532Z] a8d5f1318db7: Pull complete [2022-05-27T15:47:57.532Z] c427282e49a2: Pull complete [2022-05-27T15:47:59.447Z] 1827001aaf11: Pull complete [2022-05-27T15:47:59.447Z] 0714d37db230: Pull complete [2022-05-27T15:47:59.708Z] ac28cf19c067: Pull complete [2022-05-27T15:47:59.708Z] ca983d60f3e2: Pull complete [2022-05-27T15:47:59.708Z] 9f894cec8388: Pull complete [2022-05-27T15:47:59.708Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-27T15:47:59.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T15:47:59.708Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T15:47:59.822Z] prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container [2022-05-27T15:47:59.864Z] $ 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-27T15:48:01.332Z] $ docker top f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 -eo pid,comm [2022-05-27T15:48:01.391Z] 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-27T15:48:01.391Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-27T15:48:01.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T15:48:01.424Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T15:48:01.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T15:48:01.560Z] $ docker exec f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 ssh-agent [2022-05-27T15:48:01.668Z] SSH_AUTH_SOCK=/tmp/ssh-lQWxQWtQji8M/agent.34 [2022-05-27T15:48:01.668Z] SSH_AGENT_PID=41 [2022-05-27T15:48:01.674Z] Running ssh-add (command line suppressed) [2022-05-27T15:48:01.790Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_991408698948230981.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_991408698948230981.key) [2022-05-27T15:48:01.800Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T15:48:02.093Z] + git tag --points-at HEAD [Pipeline] } [2022-05-27T15:48:02.110Z] $ docker exec --env ******** --env ******** f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 ssh-agent -k [2022-05-27T15:48:02.212Z] unset SSH_AUTH_SOCK; [2022-05-27T15:48:02.212Z] unset SSH_AGENT_PID; [2022-05-27T15:48:02.212Z] echo Agent pid 41 killed; [2022-05-27T15:48:02.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-27T15:48:02.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T15:48:02.284Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T15:48:02.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T15:48:02.414Z] $ docker exec f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 ssh-agent [2022-05-27T15:48:02.524Z] SSH_AUTH_SOCK=/tmp/ssh-CSbEWHk6rRLS/agent.74 [2022-05-27T15:48:02.524Z] SSH_AGENT_PID=80 [2022-05-27T15:48:02.529Z] Running ssh-add (command line suppressed) [2022-05-27T15:48:02.660Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6205753206221455307.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6205753206221455307.key) [2022-05-27T15:48:02.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T15:48:02.955Z] + git semver init [2022-05-27T15:48:03.215Z] 2022-05-27 15:48:03,176 [run_init] DEBUG init version:0.0.0 force:False [2022-05-27T15:48:03.215Z] 2022-05-27 15:48:03,176 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-05-27T15:48:03.216Z] 2022-05-27 15:48:03,177 [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-27T15:48:03.216Z] 2022-05-27 15:48:03,177 [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-27T15:48:03.788Z] 2022-05-27 15:48:03,741 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-05-27T15:48:03.788Z] 2022-05-27 15:48:03,741 [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-27T15:48:03.788Z] 2022-05-27 15:48:03,741 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-05-27T15:48:03.788Z] 2022-05-27 15:48:03,745 [execute] INFO git cat-file --batch-check [2022-05-27T15:48:03.788Z] 2022-05-27 15:48:03,746 [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-27T15:48:03.788Z] 2022-05-27 15:48:03,752 [execute] INFO git cat-file --batch [2022-05-27T15:48:03.788Z] 2022-05-27 15:48:03,752 [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-27T15:48:03.788Z] 2022-05-27 15:48:03,758 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-05-27T15:48:03.788Z] 0.0.0 [Pipeline] } [2022-05-27T15:48:03.804Z] $ docker exec --env ******** --env ******** f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 ssh-agent -k [2022-05-27T15:48:03.902Z] unset SSH_AUTH_SOCK; [2022-05-27T15:48:03.903Z] unset SSH_AGENT_PID; [2022-05-27T15:48:03.903Z] echo Agent pid 80 killed; [2022-05-27T15:48:03.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-27T15:48:04.209Z] + git semver [Pipeline] } [2022-05-27T15:48:04.486Z] $ docker stop --time=1 f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 [2022-05-27T15:48:05.812Z] $ docker rm -f f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T15:48:06.179Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-27T15:48:06.431Z] Stashed 1 file(s) [Pipeline] echo [2022-05-27T15:48:06.434Z] [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-27T15:48:06.532Z] provisioning config files... [2022-05-27T15:48:06.543Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2245880524035893339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:48:06.896Z] ---> docker-login.sh [2022-05-27T15:48:06.896Z] nexus3.edgexfoundry.org:10001 [2022-05-27T15:48:06.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:48:06.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:48:06.896Z] Configure a credential helper to remove this warning. See [2022-05-27T15:48:06.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:48:06.896Z] [2022-05-27T15:48:06.896Z] Login Succeeded [2022-05-27T15:48:06.896Z] nexus3.edgexfoundry.org:10002 [2022-05-27T15:48:06.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:48:07.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:48:07.157Z] Configure a credential helper to remove this warning. See [2022-05-27T15:48:07.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:48:07.157Z] [2022-05-27T15:48:07.157Z] Login Succeeded [2022-05-27T15:48:07.157Z] nexus3.edgexfoundry.org:10003 [2022-05-27T15:48:07.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:48:07.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:48:07.157Z] Configure a credential helper to remove this warning. See [2022-05-27T15:48:07.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:48:07.157Z] [2022-05-27T15:48:07.157Z] Login Succeeded [2022-05-27T15:48:07.157Z] nexus3.edgexfoundry.org:10004 [2022-05-27T15:48:07.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:48:07.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:48:07.418Z] Configure a credential helper to remove this warning. See [2022-05-27T15:48:07.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:48:07.418Z] [2022-05-27T15:48:07.418Z] Login Succeeded [2022-05-27T15:48:07.418Z] docker.io [2022-05-27T15:48:07.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:48:07.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:48:07.679Z] Configure a credential helper to remove this warning. See [2022-05-27T15:48:07.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:48:07.679Z] [2022-05-27T15:48:07.679Z] Login Succeeded [2022-05-27T15:48:07.679Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T15:48:07.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T15:48:07.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T15:48:07.771Z] ========================================================= [2022-05-27T15:48:07.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-27T15:48:07.771Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:48:08.090Z] + 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-27T15:48:08.090Z] Sending build context to Docker daemon 682kB [2022-05-27T15:48:08.090Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T15:48:08.090Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-27T15:48:08.090Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-27T15:48:08.090Z] 59bf1c3509f3: Pulling fs layer [2022-05-27T15:48:08.090Z] 666ba61612fd: Pulling fs layer [2022-05-27T15:48:08.090Z] 8ed8ca486205: Pulling fs layer [2022-05-27T15:48:08.090Z] 4fe6c5a15a65: Pulling fs layer [2022-05-27T15:48:08.090Z] 22a0e8bec74d: Pulling fs layer [2022-05-27T15:48:08.090Z] ca2b28591e48: Pulling fs layer [2022-05-27T15:48:08.090Z] a51346096db8: Pulling fs layer [2022-05-27T15:48:08.090Z] daebc70d1ce1: Pulling fs layer [2022-05-27T15:48:08.090Z] 0e18a0eac166: Pulling fs layer [2022-05-27T15:48:08.090Z] 4fe6c5a15a65: Waiting [2022-05-27T15:48:08.090Z] 22a0e8bec74d: Waiting [2022-05-27T15:48:08.090Z] a51346096db8: Waiting [2022-05-27T15:48:08.090Z] ca2b28591e48: Waiting [2022-05-27T15:48:08.090Z] daebc70d1ce1: Waiting [2022-05-27T15:48:08.090Z] 0e18a0eac166: Waiting [2022-05-27T15:48:08.090Z] 8ed8ca486205: Verifying Checksum [2022-05-27T15:48:08.090Z] 8ed8ca486205: Download complete [2022-05-27T15:48:08.090Z] 666ba61612fd: Verifying Checksum [2022-05-27T15:48:08.090Z] 666ba61612fd: Download complete [2022-05-27T15:48:08.090Z] 22a0e8bec74d: Verifying Checksum [2022-05-27T15:48:08.090Z] 22a0e8bec74d: Download complete [2022-05-27T15:48:08.090Z] ca2b28591e48: Download complete [2022-05-27T15:48:08.355Z] 59bf1c3509f3: Verifying Checksum [2022-05-27T15:48:08.355Z] a51346096db8: Verifying Checksum [2022-05-27T15:48:08.355Z] a51346096db8: Download complete [2022-05-27T15:48:08.355Z] daebc70d1ce1: Verifying Checksum [2022-05-27T15:48:08.355Z] daebc70d1ce1: Download complete [2022-05-27T15:48:08.355Z] 59bf1c3509f3: Pull complete [2022-05-27T15:48:08.621Z] 666ba61612fd: Pull complete [2022-05-27T15:48:08.621Z] 8ed8ca486205: Pull complete [2022-05-27T15:48:08.882Z] 0e18a0eac166: Verifying Checksum [2022-05-27T15:48:09.141Z] 4fe6c5a15a65: Verifying Checksum [2022-05-27T15:48:09.141Z] 4fe6c5a15a65: Download complete [2022-05-27T15:48:13.337Z] 4fe6c5a15a65: Pull complete [2022-05-27T15:48:13.337Z] 22a0e8bec74d: Pull complete [2022-05-27T15:48:13.337Z] ca2b28591e48: Pull complete [2022-05-27T15:48:13.337Z] a51346096db8: Pull complete [2022-05-27T15:48:13.337Z] daebc70d1ce1: Pull complete [2022-05-27T15:48:15.242Z] 0e18a0eac166: Pull complete [2022-05-27T15:48:15.242Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-27T15:48:15.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-27T15:48:15.242Z] ---> f018257e8ee9 [2022-05-27T15:48:15.242Z] Step 3/12 : ARG MAKE="make build" [2022-05-27T15:48:16.635Z] ---> Running in 210ecba00ec7 [2022-05-27T15:48:16.895Z] Removing intermediate container 210ecba00ec7 [2022-05-27T15:48:16.895Z] ---> 9f711030dd36 [2022-05-27T15:48:16.895Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T15:48:16.895Z] ---> Running in 38f446b5dc73 [2022-05-27T15:48:16.895Z] Removing intermediate container 38f446b5dc73 [2022-05-27T15:48:16.895Z] ---> e3c509b78e5a [2022-05-27T15:48:16.895Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-27T15:48:16.895Z] ---> Running in 2a6484db6fc2 [2022-05-27T15:48:17.157Z] Removing intermediate container 2a6484db6fc2 [2022-05-27T15:48:17.157Z] ---> 4d938e09f7a5 [2022-05-27T15:48:17.157Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T15:48:17.157Z] ---> Running in 207269fbe5c0 [2022-05-27T15:48:17.732Z] Removing intermediate container 207269fbe5c0 [2022-05-27T15:48:17.732Z] ---> 00f7dd4a4f68 [2022-05-27T15:48:17.732Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T15:48:17.732Z] ---> Running in 123cc7822cbf [2022-05-27T15:48:17.993Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T15:48:18.935Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T15:48:18.935Z] (1/81) Installing mesa (21.2.6-r0) [2022-05-27T15:48:19.196Z] (2/81) Installing libxau (1.0.9-r0) [2022-05-27T15:48:19.196Z] (3/81) Installing libmd (1.0.3-r0) [2022-05-27T15:48:19.457Z] (4/81) Installing libbsd (0.11.3-r1) [2022-05-27T15:48:19.457Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-05-27T15:48:19.457Z] (6/81) Installing libxcb (1.14-r2) [2022-05-27T15:48:19.722Z] (7/81) Installing libx11 (1.7.2-r0) [2022-05-27T15:48:19.722Z] (8/81) Installing libxext (1.3.4-r0) [2022-05-27T15:48:19.722Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-05-27T15:48:19.983Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-05-27T15:48:19.983Z] (11/81) Installing libpciaccess (0.16-r0) [2022-05-27T15:48:19.983Z] (12/81) Installing libdrm (2.4.109-r0) [2022-05-27T15:48:20.244Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-05-27T15:48:20.244Z] (14/81) Installing libxshmfence (1.3-r1) [2022-05-27T15:48:20.244Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-05-27T15:48:20.507Z] (16/81) Installing libice (1.0.10-r0) [2022-05-27T15:48:20.507Z] (17/81) Installing libuuid (2.37.4-r0) [2022-05-27T15:48:20.768Z] (18/81) Installing libsm (1.2.3-r0) [2022-05-27T15:48:20.768Z] (19/81) Installing libxt (1.2.1-r0) [2022-05-27T15:48:20.768Z] (20/81) Installing libxmu (1.1.3-r0) [2022-05-27T15:48:21.029Z] (21/81) Installing xset (1.2.4-r0) [2022-05-27T15:48:21.029Z] (22/81) Installing xprop (1.2.5-r0) [2022-05-27T15:48:21.029Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-05-27T15:48:21.290Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-05-27T15:48:21.290Z] (25/81) Installing libffi (3.4.2-r1) [2022-05-27T15:48:21.290Z] (26/81) Installing libintl (0.21-r0) [2022-05-27T15:48:21.505Z] Still waiting to schedule task [2022-05-27T15:48:21.505Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-27T15:48:21.551Z] (27/81) Installing libblkid (2.37.4-r0) [2022-05-27T15:48:21.551Z] (28/81) Installing libmount (2.37.4-r0) [2022-05-27T15:48:21.551Z] (29/81) Installing pcre (8.45-r1) [2022-05-27T15:48:21.813Z] (30/81) Installing glib (2.70.1-r0) [2022-05-27T15:48:21.813Z] (31/81) Installing icu-libs (69.1-r1) [2022-05-27T15:48:22.754Z] (32/81) Installing libpcre2-16 (10.39-r0) [2022-05-27T15:48:22.754Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-05-27T15:48:22.754Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-05-27T15:48:23.014Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-05-27T15:48:23.275Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-05-27T15:48:23.275Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-05-27T15:48:23.275Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-05-27T15:48:23.540Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-05-27T15:48:23.803Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-05-27T15:48:23.803Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-05-27T15:48:23.803Z] (42/81) Installing libpng (1.6.37-r1) [2022-05-27T15:48:24.063Z] (43/81) Installing freetype (2.11.1-r2) [2022-05-27T15:48:24.063Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-05-27T15:48:24.063Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-05-27T15:48:24.324Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-05-27T15:48:24.324Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-05-27T15:48:24.587Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-05-27T15:48:24.587Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-05-27T15:48:24.587Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-05-27T15:48:24.848Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-05-27T15:48:24.848Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-05-27T15:48:24.848Z] (53/81) Installing avahi-libs (0.8-r5) [2022-05-27T15:48:25.109Z] (54/81) Installing nettle (3.7.3-r0) [2022-05-27T15:48:25.109Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-05-27T15:48:25.370Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-05-27T15:48:25.370Z] (57/81) Installing libunistring (0.9.10-r1) [2022-05-27T15:48:25.370Z] (58/81) Installing gnutls (3.7.1-r0) [2022-05-27T15:48:25.631Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-05-27T15:48:25.631Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-05-27T15:48:25.631Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-05-27T15:48:25.892Z] (62/81) Installing libevdev (1.12.0-r0) [2022-05-27T15:48:25.892Z] (63/81) Installing mtdev (1.1.6-r0) [2022-05-27T15:48:25.892Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-27T15:48:26.154Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-05-27T15:48:26.154Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-05-27T15:48:26.415Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-05-27T15:48:26.415Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-05-27T15:48:26.415Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-05-27T15:48:26.674Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-05-27T15:48:26.674Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-05-27T15:48:26.674Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-05-27T15:48:26.935Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-05-27T15:48:27.197Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-05-27T15:48:27.458Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-05-27T15:48:27.458Z] (76/81) Installing udev-init-scripts (35-r0) [2022-05-27T15:48:27.458Z] Executing udev-init-scripts-35-r0.post-install [2022-05-27T15:48:27.458Z] (77/81) Installing kmod-libs (29-r2) [2022-05-27T15:48:27.719Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-05-27T15:48:27.719Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-27T15:48:27.979Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-27T15:48:27.979Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-05-27T15:48:27.979Z] Executing busybox-1.34.1-r3.trigger [2022-05-27T15:48:27.979Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-27T15:48:27.979Z] OK: 335 MiB in 133 packages [2022-05-27T15:48:30.528Z] Removing intermediate container 123cc7822cbf [2022-05-27T15:48:30.528Z] ---> 47f87b5c3b9e [2022-05-27T15:48:30.528Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-27T15:48:30.528Z] ---> Running in 1096f45d705e [2022-05-27T15:48:30.528Z] Removing intermediate container 1096f45d705e [2022-05-27T15:48:30.528Z] ---> 02605214d0ef [2022-05-27T15:48:30.528Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-27T15:48:30.528Z] ---> 05fa2c07e7bd [2022-05-27T15:48:30.528Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T15:48:30.528Z] ---> Running in a8deaa974464 [2022-05-27T15:48:45.519Z] Removing intermediate container a8deaa974464 [2022-05-27T15:48:45.519Z] ---> 86ff46707945 [2022-05-27T15:48:45.519Z] Step 11/12 : COPY . . [2022-05-27T15:48:45.779Z] ---> 90ef20c12d5e [2022-05-27T15:48:45.779Z] Step 12/12 : RUN ${MAKE} [2022-05-27T15:48:45.779Z] ---> Running in c9d1806d248e [2022-05-27T15:48:46.039Z] noop [2022-05-27T15:48:46.614Z] Removing intermediate container c9d1806d248e [2022-05-27T15:48:46.614Z] ---> 5e7fa7053410 [2022-05-27T15:48:46.614Z] Successfully built 5e7fa7053410 [2022-05-27T15:48:46.614Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:48:46.934Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T15:48:46.934Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T15:48:47.009Z] prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container [2022-05-27T15:48:47.050Z] $ 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-27T15:48:47.438Z] $ docker top 29f5a1a4612382834a54276348266bcea6bab7f4acd0fac6ed0e0294c8eea03b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T15:48:47.782Z] + go version [2022-05-27T15:48:47.782Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-27T15:48:47.797Z] $ docker stop --time=1 29f5a1a4612382834a54276348266bcea6bab7f4acd0fac6ed0e0294c8eea03b [2022-05-27T15:48:49.106Z] $ docker rm -f 29f5a1a4612382834a54276348266bcea6bab7f4acd0fac6ed0e0294c8eea03b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:48:49.509Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T15:48:49.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T15:48:49.595Z] prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container [2022-05-27T15:48:49.634Z] $ 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-27T15:48:50.026Z] $ docker top 9ed00fa819b0b31dc9fab573a3ff7b21ede7b05603da186c29d0c9fbe2d002d4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T15:48:50.382Z] + make test [2022-05-27T15:48:50.382Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-27T15:48:50.641Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-27T15:49:00.649Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-27T15:49:00.649Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-27T15:49:05.926Z] CGO_ENABLED=1 go vet ./... [2022-05-27T15:49:10.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T15:49:10.128Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T15:49:10.128Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-27T15:49:10.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T15:49:10.158Z] $ docker stop --time=1 9ed00fa819b0b31dc9fab573a3ff7b21ede7b05603da186c29d0c9fbe2d002d4 [2022-05-27T15:49:12.048Z] $ docker rm -f 9ed00fa819b0b31dc9fab573a3ff7b21ede7b05603da186c29d0c9fbe2d002d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T15:49:12.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T15:49:12.552Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-27T15:49:13.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T15:49:13.344Z] + ls -al . [2022-05-27T15:49:13.344Z] total 168 [2022-05-27T15:49:13.344Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 15:49 . [2022-05-27T15:49:13.344Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 15:47 .. [2022-05-27T15:49:13.344Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 15:48 .git [2022-05-27T15:49:13.344Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:47 .github [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 414 May 27 15:47 .gitignore [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 15:47 .golangci.yml [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 77 May 27 15:47 .hadolint.yml [2022-05-27T15:49:13.344Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 15:48 .semver [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 27 15:47 Attribution.txt [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 181 May 27 15:47 CHANGELOG.md [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 27 15:47 Dockerfile [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 678 May 27 15:47 GOVERNANCE.md [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 659 May 27 15:47 Jenkinsfile [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 15:47 LICENSE [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 2345 May 27 15:47 Makefile [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 622 May 27 15:47 OWNERS.md [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 8912 May 27 15:47 README.md [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 15:48 VERSION [2022-05-27T15:49:13.344Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:47 bin [2022-05-27T15:49:13.344Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:47 cmd [2022-05-27T15:49:13.344Z] -rw-r--r-- 1 jenkins jenkins 10 May 27 15:48 coverage.out [2022-05-27T15:49:13.344Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:47 docker-compose [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 15:47 docker-entrypoint.sh [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 27 15:47 go.mod [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 27 15:47 go.sum [2022-05-27T15:49:13.344Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:47 internal [2022-05-27T15:49:13.344Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:47 snap [2022-05-27T15:49:13.344Z] -rw-rw-r-- 1 jenkins jenkins 231 May 27 15:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:49:13.656Z] + 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=1f03470b1734dc3652a250f94a689b6ea8731206 --label arch=amd64 --label version=0.0.0 . [2022-05-27T15:49:13.656Z] Sending build context to Docker daemon 683kB [2022-05-27T15:49:13.656Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T15:49:13.656Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-27T15:49:13.656Z] ---> 5e7fa7053410 [2022-05-27T15:49:13.656Z] Step 3/29 : ARG MAKE="make build" [2022-05-27T15:49:13.656Z] ---> Running in eca7060b7ef0 [2022-05-27T15:49:13.917Z] Removing intermediate container eca7060b7ef0 [2022-05-27T15:49:13.917Z] ---> 272d41774520 [2022-05-27T15:49:13.917Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T15:49:13.917Z] ---> Running in f2b73d813b35 [2022-05-27T15:49:13.917Z] Removing intermediate container f2b73d813b35 [2022-05-27T15:49:13.917Z] ---> 1668fc09d0d5 [2022-05-27T15:49:13.917Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-27T15:49:13.917Z] ---> Running in c4e52f9e2911 [2022-05-27T15:49:14.179Z] Removing intermediate container c4e52f9e2911 [2022-05-27T15:49:14.179Z] ---> 3ce3180ee3d5 [2022-05-27T15:49:14.179Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T15:49:14.179Z] ---> Running in f7a5c1d167b1 [2022-05-27T15:49:14.748Z] Removing intermediate container f7a5c1d167b1 [2022-05-27T15:49:14.748Z] ---> 5c157644857d [2022-05-27T15:49:14.748Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T15:49:15.009Z] ---> Running in 33da290d97b2 [2022-05-27T15:49:15.269Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T15:49:15.840Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T15:49:16.411Z] OK: 335 MiB in 133 packages [2022-05-27T15:49:16.670Z] Removing intermediate container 33da290d97b2 [2022-05-27T15:49:16.670Z] ---> d234eeb364d5 [2022-05-27T15:49:16.670Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-27T15:49:16.670Z] ---> Running in e0869cb4d9fd [2022-05-27T15:49:16.933Z] Removing intermediate container e0869cb4d9fd [2022-05-27T15:49:16.933Z] ---> 922546b4638a [2022-05-27T15:49:16.933Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-27T15:49:16.933Z] ---> 31ca52d60add [2022-05-27T15:49:16.933Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T15:49:17.192Z] ---> Running in b6c9350ba452 [2022-05-27T15:49:17.761Z] Removing intermediate container b6c9350ba452 [2022-05-27T15:49:17.761Z] ---> d5fda353967e [2022-05-27T15:49:17.761Z] Step 11/29 : COPY . . [2022-05-27T15:49:18.020Z] ---> 3eccac16897a [2022-05-27T15:49:18.020Z] Step 12/29 : RUN ${MAKE} [2022-05-27T15:49:18.020Z] ---> Running in 6d1584cca225 [2022-05-27T15:49:18.280Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-05-27T15:49:40.227Z] Removing intermediate container 6d1584cca225 [2022-05-27T15:49:40.227Z] ---> 7cea2835af26 [2022-05-27T15:49:40.227Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-27T15:49:40.227Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-27T15:49:40.227Z] af6660deedbd: Pulling fs layer [2022-05-27T15:49:40.227Z] 97cd0a44c592: Pulling fs layer [2022-05-27T15:49:40.227Z] 97cd0a44c592: Verifying Checksum [2022-05-27T15:49:40.227Z] 97cd0a44c592: Download complete [2022-05-27T15:49:40.227Z] af6660deedbd: Download complete [2022-05-27T15:49:40.227Z] af6660deedbd: Pull complete [2022-05-27T15:49:40.228Z] 97cd0a44c592: Pull complete [2022-05-27T15:49:40.228Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-27T15:49:40.228Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-27T15:49:40.228Z] ---> fea57e182299 [2022-05-27T15:49:40.228Z] Step 14/29 : FROM alpine:3.15 [2022-05-27T15:49:40.228Z] 3.15: Pulling from library/alpine [2022-05-27T15:49:40.228Z] df9b9388f04a: Pulling fs layer [2022-05-27T15:49:40.228Z] df9b9388f04a: Verifying Checksum [2022-05-27T15:49:40.228Z] df9b9388f04a: Download complete [2022-05-27T15:49:40.228Z] df9b9388f04a: Pull complete [2022-05-27T15:49:40.228Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-27T15:49:40.228Z] Status: Downloaded newer image for alpine:3.15 [2022-05-27T15:49:40.228Z] ---> 0ac33e5f5afa [2022-05-27T15:49:40.228Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-27T15:49:40.228Z] ---> Running in 104ddf20e3d5 [2022-05-27T15:49:40.228Z] Removing intermediate container 104ddf20e3d5 [2022-05-27T15:49:40.228Z] ---> a95dbb117f54 [2022-05-27T15:49:40.228Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-27T15:49:40.228Z] ---> Running in bb0e4584c966 [2022-05-27T15:49:40.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T15:49:40.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T15:49:40.488Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-05-27T15:49:40.488Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-05-27T15:49:40.488Z] (3/74) Installing libxau (1.0.9-r0) [2022-05-27T15:49:40.488Z] (4/74) Installing libmd (1.0.3-r0) [2022-05-27T15:49:40.488Z] (5/74) Installing libbsd (0.11.3-r1) [2022-05-27T15:49:40.488Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-05-27T15:49:40.488Z] (7/74) Installing libxcb (1.14-r2) [2022-05-27T15:49:40.749Z] (8/74) Installing libx11 (1.7.2-r0) [2022-05-27T15:49:40.749Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-05-27T15:49:40.749Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-05-27T15:49:40.749Z] (11/74) Installing expat (2.4.7-r0) [2022-05-27T15:49:40.749Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-05-27T15:49:40.749Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-05-27T15:49:40.749Z] (14/74) Installing libpng (1.6.37-r1) [2022-05-27T15:49:40.749Z] (15/74) Installing freetype (2.11.1-r2) [2022-05-27T15:49:40.749Z] (16/74) Installing libuuid (2.37.4-r0) [2022-05-27T15:49:40.749Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-05-27T15:49:40.749Z] (18/74) Installing fribidi (1.0.11-r0) [2022-05-27T15:49:40.749Z] (19/74) Installing libffi (3.4.2-r1) [2022-05-27T15:49:40.749Z] (20/74) Installing libintl (0.21-r0) [2022-05-27T15:49:40.749Z] (21/74) Installing libblkid (2.37.4-r0) [2022-05-27T15:49:40.749Z] (22/74) Installing libmount (2.37.4-r0) [2022-05-27T15:49:40.749Z] (23/74) Installing pcre (8.45-r1) [2022-05-27T15:49:40.749Z] (24/74) Installing glib (2.70.1-r0) [2022-05-27T15:49:41.011Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-05-27T15:49:41.011Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-05-27T15:49:41.011Z] (27/74) Installing libass (0.15.2-r0) [2022-05-27T15:49:41.011Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-05-27T15:49:41.011Z] (29/74) Installing gmp (6.2.1-r1) [2022-05-27T15:49:41.011Z] (30/74) Installing nettle (3.7.3-r0) [2022-05-27T15:49:41.011Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-05-27T15:49:41.011Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-05-27T15:49:41.011Z] (33/74) Installing libunistring (0.9.10-r1) [2022-05-27T15:49:41.011Z] (34/74) Installing gnutls (3.7.1-r0) [2022-05-27T15:49:41.011Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-27T15:49:41.011Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-27T15:49:41.011Z] (37/74) Installing lame (3.100-r0) [2022-05-27T15:49:41.011Z] (38/74) Installing opus (1.3.1-r1) [2022-05-27T15:49:41.011Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-05-27T15:49:41.011Z] (40/74) Installing soxr (0.1.3-r2) [2022-05-27T15:49:41.011Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-05-27T15:49:41.011Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-27T15:49:41.011Z] (43/74) Installing libsrt (1.4.2-r1) [2022-05-27T15:49:41.011Z] (44/74) Installing libssh (0.9.6-r1) [2022-05-27T15:49:41.011Z] (45/74) Installing libogg (1.3.5-r0) [2022-05-27T15:49:41.011Z] (46/74) Installing libtheora (1.1.1-r16) [2022-05-27T15:49:41.274Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-05-27T15:49:41.274Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-05-27T15:49:41.274Z] (49/74) Installing libxext (1.3.4-r0) [2022-05-27T15:49:41.274Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-05-27T15:49:41.274Z] (51/74) Installing libpciaccess (0.16-r0) [2022-05-27T15:49:41.274Z] (52/74) Installing libdrm (2.4.109-r0) [2022-05-27T15:49:41.274Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-05-27T15:49:41.274Z] (54/74) Installing libva (2.13.0-r0) [2022-05-27T15:49:41.274Z] (55/74) Installing libvdpau (1.4-r0) [2022-05-27T15:49:41.274Z] (56/74) Installing vidstab (1.1.0-r1) [2022-05-27T15:49:41.274Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-05-27T15:49:41.274Z] (58/74) Installing libvpx (1.10.0-r0) [2022-05-27T15:49:41.274Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-05-27T15:49:41.274Z] (60/74) Installing libwebp (1.2.2-r0) [2022-05-27T15:49:41.274Z] (61/74) Installing x264-libs (20210613-r0) [2022-05-27T15:49:41.274Z] (62/74) Installing x265-libs (3.5-r0) [2022-05-27T15:49:41.274Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-05-27T15:49:41.274Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-05-27T15:49:41.534Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-05-27T15:49:41.534Z] (66/74) Installing udev-init-scripts (35-r0) [2022-05-27T15:49:41.534Z] Executing udev-init-scripts-35-r0.post-install [2022-05-27T15:49:41.534Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-27T15:49:41.534Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-05-27T15:49:41.534Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-05-27T15:49:41.534Z] (70/74) Installing kmod-libs (29-r2) [2022-05-27T15:49:41.534Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-05-27T15:49:41.534Z] (72/74) Installing libsodium (1.0.18-r0) [2022-05-27T15:49:41.534Z] (73/74) Installing libzmq (4.3.4-r0) [2022-05-27T15:49:41.534Z] (74/74) Installing zeromq (4.3.4-r0) [2022-05-27T15:49:41.534Z] Executing busybox-1.34.1-r5.trigger [2022-05-27T15:49:41.534Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-27T15:49:41.534Z] OK: 78 MiB in 88 packages [2022-05-27T15:49:43.447Z] Removing intermediate container bb0e4584c966 [2022-05-27T15:49:43.447Z] ---> bb4711b520da [2022-05-27T15:49:43.447Z] Step 17/29 : WORKDIR / [2022-05-27T15:49:43.447Z] ---> Running in 4e0f3e113e39 [2022-05-27T15:49:43.447Z] Removing intermediate container 4e0f3e113e39 [2022-05-27T15:49:43.447Z] ---> 75df42bae826 [2022-05-27T15:49:43.447Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-27T15:49:44.018Z] ---> 28fff5e6e297 [2022-05-27T15:49:44.018Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-27T15:49:44.018Z] ---> f5eed2878cdb [2022-05-27T15:49:44.018Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-27T15:49:44.278Z] ---> fc0c472f6c6b [2022-05-27T15:49:44.278Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-27T15:49:44.278Z] ---> 814f4263a236 [2022-05-27T15:49:44.278Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-27T15:49:44.540Z] ---> 7aa9159f680c [2022-05-27T15:49:44.540Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-27T15:49:45.109Z] ---> b6b51cce541a [2022-05-27T15:49:45.109Z] Step 24/29 : EXPOSE 59983 [2022-05-27T15:49:45.109Z] ---> Running in 392a18edd5ec [2022-05-27T15:49:45.109Z] Removing intermediate container 392a18edd5ec [2022-05-27T15:49:45.109Z] ---> 34cb93034889 [2022-05-27T15:49:45.109Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-27T15:49:45.109Z] ---> Running in 3c6a742b45c7 [2022-05-27T15:49:45.369Z] Removing intermediate container 3c6a742b45c7 [2022-05-27T15:49:45.369Z] ---> bad7f9e9a227 [2022-05-27T15:49:45.369Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-27T15:49:45.369Z] ---> Running in 438f12597448 [2022-05-27T15:49:45.369Z] Removing intermediate container 438f12597448 [2022-05-27T15:49:45.369Z] ---> 40f1fc1d8545 [2022-05-27T15:49:45.369Z] Step 27/29 : LABEL arch=amd64 [2022-05-27T15:49:45.369Z] ---> Running in 0b3151fb52d9 [2022-05-27T15:49:45.630Z] Removing intermediate container 0b3151fb52d9 [2022-05-27T15:49:45.630Z] ---> 92457ac59f30 [2022-05-27T15:49:45.630Z] Step 28/29 : LABEL git_sha=1f03470b1734dc3652a250f94a689b6ea8731206 [2022-05-27T15:49:45.630Z] ---> Running in 2cd9eafad3c9 [2022-05-27T15:49:45.630Z] Removing intermediate container 2cd9eafad3c9 [2022-05-27T15:49:45.630Z] ---> 8fd848103b67 [2022-05-27T15:49:45.630Z] Step 29/29 : LABEL version=0.0.0 [2022-05-27T15:49:45.630Z] ---> Running in b7e393eebfc6 [2022-05-27T15:49:45.891Z] Removing intermediate container b7e393eebfc6 [2022-05-27T15:49:45.891Z] ---> 4eb33510087e [2022-05-27T15:49:45.891Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T15:49:45.891Z] Successfully built 4eb33510087e [2022-05-27T15:49:45.891Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:49:46.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T15:49:46.312Z] [2022-05-27T15:49:46.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:49:46.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T15:49:46.611Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-27T15:49:46.611Z] 5eb5b503b376: Pulling fs layer [2022-05-27T15:49:46.611Z] 5c69ac0246d0: Pulling fs layer [2022-05-27T15:49:46.611Z] ec43610c2a17: Pulling fs layer [2022-05-27T15:49:46.611Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-27T15:49:46.611Z] 33b1e0a273af: Pulling fs layer [2022-05-27T15:49:46.611Z] 5d3b04190fa2: Pulling fs layer [2022-05-27T15:49:46.611Z] 2f39f015ded8: Pulling fs layer [2022-05-27T15:49:46.611Z] 33b1e0a273af: Waiting [2022-05-27T15:49:46.611Z] 5d3b04190fa2: Waiting [2022-05-27T15:49:46.611Z] 2f39f015ded8: Waiting [2022-05-27T15:49:46.611Z] 5c69ac0246d0: Verifying Checksum [2022-05-27T15:49:46.611Z] 5c69ac0246d0: Download complete [2022-05-27T15:49:46.611Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-27T15:49:46.873Z] 33b1e0a273af: Verifying Checksum [2022-05-27T15:49:46.873Z] 33b1e0a273af: Download complete [2022-05-27T15:49:46.873Z] ec43610c2a17: Verifying Checksum [2022-05-27T15:49:46.873Z] ec43610c2a17: Download complete [2022-05-27T15:49:46.873Z] 5d3b04190fa2: Verifying Checksum [2022-05-27T15:49:46.873Z] 5d3b04190fa2: Download complete [2022-05-27T15:49:46.873Z] 5eb5b503b376: Verifying Checksum [2022-05-27T15:49:46.873Z] 5eb5b503b376: Download complete [2022-05-27T15:49:47.440Z] 2f39f015ded8: Download complete [2022-05-27T15:49:48.009Z] 5eb5b503b376: Pull complete [2022-05-27T15:49:48.268Z] 5c69ac0246d0: Pull complete [2022-05-27T15:49:48.838Z] ec43610c2a17: Pull complete [2022-05-27T15:49:48.838Z] 3a2ae6a8a46f: Pull complete [2022-05-27T15:49:48.838Z] 33b1e0a273af: Pull complete [2022-05-27T15:49:49.098Z] 5d3b04190fa2: Pull complete [2022-05-27T15:49:53.290Z] 2f39f015ded8: Pull complete [2022-05-27T15:49:53.290Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-27T15:49:53.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T15:49:53.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T15:49:53.390Z] prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container [2022-05-27T15:49:53.435Z] $ 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-27T15:49:55.571Z] $ docker top 56a913656c9401155e98936211c98c3fb71d5e4e7737676466346d4bc1dec79b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:49:56.004Z] ---> job-cost.sh [2022-05-27T15:49:56.004Z] lf-activate-venv: SKIPPING [2022-05-27T15:49:56.004Z] INFO: No Stack... [2022-05-27T15:49:56.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T15:49:57.224Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T15:49:57.516Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-05-27T15:49:57.516Z] + cut -d, -f6 [Pipeline] lock [2022-05-27T15:49:57.529Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [2022-05-27T15:49:57.535Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] did not exist. Created. [2022-05-27T15:49:57.536Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T15:49:57.842Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-27T15:49:57.874Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T15:49:57.881Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T15:49:57.905Z] $ docker stop --time=1 56a913656c9401155e98936211c98c3fb71d5e4e7737676466346d4bc1dec79b [2022-05-27T15:49:59.081Z] $ docker rm -f 56a913656c9401155e98936211c98c3fb71d5e4e7737676466346d4bc1dec79b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-27T15:49:59.384Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-264 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-05-27T15:49:59.395Z] Running in /w/workspace/device-usb-camera/11 [Pipeline] { [Pipeline] checkout [2022-05-27T15:49:59.444Z] Selected Git installation does not exist. Using Default [2022-05-27T15:49:59.444Z] The recommended git tool is: NONE [2022-05-27T15:50:05.509Z] using credential edgex-jenkins-ssh [2022-05-27T15:50:05.527Z] Cloning the remote Git repository [2022-05-27T15:50:05.595Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-05-27T15:50:05.670Z] > git init /w/workspace/device-usb-camera/11 # timeout=10 [2022-05-27T15:50:05.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-27T15:50:05.758Z] > git --version # timeout=10 [2022-05-27T15:50:05.776Z] > git --version # 'git version 2.25.1' [2022-05-27T15:50:05.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T15:50:05.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T15:50:07.141Z] Merging remotes/origin/main commit f39f8737115c4aee3eed177658c873badef7abfd into PR head commit 1f03470b1734dc3652a250f94a689b6ea8731206 [2022-05-27T15:50:06.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-27T15:50:06.552Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T15:50:06.579Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-27T15:50:06.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-27T15:50:06.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T15:50:06.633Z] > 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-27T15:50:07.165Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T15:50:07.189Z] > git checkout -f 1f03470b1734dc3652a250f94a689b6ea8731206 # timeout=10 [2022-05-27T15:50:07.280Z] > git remote # timeout=10 [2022-05-27T15:50:07.299Z] > git config --get remote.origin.url # timeout=10 [2022-05-27T15:50:07.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T15:50:07.338Z] > git merge f39f8737115c4aee3eed177658c873badef7abfd # timeout=10 [2022-05-27T15:50:07.387Z] Merge succeeded, producing 1f03470b1734dc3652a250f94a689b6ea8731206 [2022-05-27T15:50:07.388Z] Checking out Revision 1f03470b1734dc3652a250f94a689b6ea8731206 (PR-30) [2022-05-27T15:50:07.368Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-27T15:50:07.400Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T15:50:07.422Z] > git checkout -f 1f03470b1734dc3652a250f94a689b6ea8731206 # timeout=10 [2022-05-27T15:50:11.559Z] Commit message: "docs: package rtsp-simple-server's licence" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T15:50:12.361Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-27T15:50:12.361Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T15:50:12.361Z] Dload Upload Total Spent Left Speed [2022-05-27T15:50:12.361Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51483 0 --:--:-- --:--:-- --:--:-- 51700 [Pipeline] sh [2022-05-27T15:50:13.122Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-27T15:50:13.464Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-27T15:50:13.464Z] + sudo tee /etc/docker/daemon.new [2022-05-27T15:50:13.464Z] { [2022-05-27T15:50:13.464Z] "registry-mirrors": [ [2022-05-27T15:50:13.464Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-27T15:50:13.464Z] ], [2022-05-27T15:50:13.464Z] "bip": "10.250.0.254/24", [2022-05-27T15:50:13.464Z] "hosts": [ [2022-05-27T15:50:13.464Z] "tcp://0.0.0.0:5555", [2022-05-27T15:50:13.464Z] "unix:///var/run/docker.sock" [2022-05-27T15:50:13.464Z] ], [2022-05-27T15:50:13.464Z] "mtu": 1458, [2022-05-27T15:50:13.464Z] "selinux-enabled": true, [2022-05-27T15:50:13.464Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-27T15:50:13.464Z] } [Pipeline] sh [2022-05-27T15:50:13.823Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-27T15:50:14.159Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T15:50:32.502Z] provisioning config files... [2022-05-27T15:50:32.525Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/11@tmp/config6307832739506842559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:50:33.092Z] ---> docker-login.sh [2022-05-27T15:50:33.092Z] nexus3.edgexfoundry.org:10001 [2022-05-27T15:50:33.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:50:33.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:50:33.969Z] Configure a credential helper to remove this warning. See [2022-05-27T15:50:33.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:50:33.969Z] [2022-05-27T15:50:33.969Z] Login Succeeded [2022-05-27T15:50:33.969Z] nexus3.edgexfoundry.org:10002 [2022-05-27T15:50:34.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:50:34.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:50:34.519Z] Configure a credential helper to remove this warning. See [2022-05-27T15:50:34.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:50:34.519Z] [2022-05-27T15:50:34.519Z] Login Succeeded [2022-05-27T15:50:34.519Z] nexus3.edgexfoundry.org:10003 [2022-05-27T15:50:34.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:50:34.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:50:34.793Z] Configure a credential helper to remove this warning. See [2022-05-27T15:50:34.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:50:34.793Z] [2022-05-27T15:50:34.793Z] Login Succeeded [2022-05-27T15:50:34.793Z] nexus3.edgexfoundry.org:10004 [2022-05-27T15:50:35.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:50:35.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:50:35.394Z] Configure a credential helper to remove this warning. See [2022-05-27T15:50:35.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:50:35.394Z] [2022-05-27T15:50:35.394Z] Login Succeeded [2022-05-27T15:50:35.394Z] docker.io [2022-05-27T15:50:35.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T15:50:36.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T15:50:36.261Z] Configure a credential helper to remove this warning. See [2022-05-27T15:50:36.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T15:50:36.261Z] [2022-05-27T15:50:36.261Z] Login Succeeded [2022-05-27T15:50:36.261Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T15:50:36.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T15:50:36.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T15:50:36.564Z] ========================================================= [2022-05-27T15:50:36.564Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-27T15:50:36.564Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:50:36.928Z] + 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-27T15:50:37.203Z] Sending build context to Docker daemon 485.9kB [2022-05-27T15:50:37.203Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T15:50:37.203Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-27T15:50:37.479Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-27T15:50:37.479Z] 9b3977197b4f: Pulling fs layer [2022-05-27T15:50:37.479Z] 1a89e8eeedd5: Pulling fs layer [2022-05-27T15:50:37.479Z] 94645a83ff95: Pulling fs layer [2022-05-27T15:50:37.479Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-27T15:50:37.479Z] 0c92f367c5e7: Pulling fs layer [2022-05-27T15:50:37.479Z] 3096ccb668a1: Pulling fs layer [2022-05-27T15:50:37.479Z] e8cf19c19ddd: Pulling fs layer [2022-05-27T15:50:37.479Z] a4caa8a26152: Pulling fs layer [2022-05-27T15:50:37.479Z] 0c92f367c5e7: Waiting [2022-05-27T15:50:37.479Z] 3096ccb668a1: Waiting [2022-05-27T15:50:37.479Z] e8cf19c19ddd: Waiting [2022-05-27T15:50:37.479Z] a4caa8a26152: Waiting [2022-05-27T15:50:37.479Z] 3f3a8bcf1eab: Waiting [2022-05-27T15:50:37.479Z] 94645a83ff95: Verifying Checksum [2022-05-27T15:50:37.479Z] 94645a83ff95: Download complete [2022-05-27T15:50:37.479Z] 1a89e8eeedd5: Download complete [2022-05-27T15:50:37.479Z] 0c92f367c5e7: Verifying Checksum [2022-05-27T15:50:37.479Z] 0c92f367c5e7: Download complete [2022-05-27T15:50:37.479Z] 3096ccb668a1: Verifying Checksum [2022-05-27T15:50:37.479Z] 3096ccb668a1: Download complete [2022-05-27T15:50:37.479Z] 9b3977197b4f: Verifying Checksum [2022-05-27T15:50:37.479Z] 9b3977197b4f: Download complete [2022-05-27T15:50:37.479Z] e8cf19c19ddd: Verifying Checksum [2022-05-27T15:50:37.479Z] e8cf19c19ddd: Download complete [2022-05-27T15:50:38.478Z] 9b3977197b4f: Pull complete [2022-05-27T15:50:38.757Z] 1a89e8eeedd5: Pull complete [2022-05-27T15:50:39.360Z] 94645a83ff95: Pull complete [2022-05-27T15:50:39.634Z] a4caa8a26152: Download complete [2022-05-27T15:50:40.232Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-27T15:50:40.232Z] 3f3a8bcf1eab: Download complete [2022-05-27T15:50:52.642Z] 3f3a8bcf1eab: Pull complete [2022-05-27T15:50:52.642Z] 0c92f367c5e7: Pull complete [2022-05-27T15:50:52.642Z] 3096ccb668a1: Pull complete [2022-05-27T15:50:52.642Z] e8cf19c19ddd: Pull complete [2022-05-27T15:50:59.370Z] a4caa8a26152: Pull complete [2022-05-27T15:50:59.370Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-27T15:50:59.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-27T15:50:59.370Z] ---> 725f1c02e7f9 [2022-05-27T15:50:59.370Z] Step 3/12 : ARG MAKE="make build" [2022-05-27T15:50:59.656Z] ---> Running in 740855119a2e [2022-05-27T15:51:00.266Z] Removing intermediate container 740855119a2e [2022-05-27T15:51:00.266Z] ---> 8bb17dd5a272 [2022-05-27T15:51:00.266Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T15:51:00.267Z] ---> Running in ceee480fe224 [2022-05-27T15:51:00.545Z] Removing intermediate container ceee480fe224 [2022-05-27T15:51:00.545Z] ---> 01c28a719b4b [2022-05-27T15:51:00.545Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-27T15:51:00.545Z] ---> Running in 8deb6bf30813 [2022-05-27T15:51:00.822Z] Removing intermediate container 8deb6bf30813 [2022-05-27T15:51:00.822Z] ---> 256e32a2ccd1 [2022-05-27T15:51:00.822Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T15:51:00.822Z] ---> Running in 9393354f9f60 [2022-05-27T15:51:02.810Z] Removing intermediate container 9393354f9f60 [2022-05-27T15:51:02.810Z] ---> 6fa4e4293991 [2022-05-27T15:51:02.810Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T15:51:02.810Z] ---> Running in 48bdcf90946b [2022-05-27T15:51:03.793Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T15:51:04.794Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T15:51:05.774Z] (1/14) Installing libintl (0.21-r0) [2022-05-27T15:51:05.774Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-27T15:51:05.774Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-05-27T15:51:05.774Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-05-27T15:51:06.046Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-05-27T15:51:06.046Z] (6/14) Installing udev-init-scripts (35-r0) [2022-05-27T15:51:06.318Z] Executing udev-init-scripts-35-r0.post-install [2022-05-27T15:51:06.318Z] (7/14) Installing libblkid (2.37.4-r0) [2022-05-27T15:51:06.318Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-05-27T15:51:06.318Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-05-27T15:51:06.592Z] (10/14) Installing kmod-libs (29-r2) [2022-05-27T15:51:06.592Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-05-27T15:51:06.592Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-27T15:51:06.865Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-27T15:51:06.865Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-05-27T15:51:07.140Z] Executing busybox-1.34.1-r3.trigger [2022-05-27T15:51:07.140Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-27T15:51:07.140Z] OK: 227 MiB in 66 packages [2022-05-27T15:51:08.134Z] Removing intermediate container 48bdcf90946b [2022-05-27T15:51:08.134Z] ---> bbd5336ec707 [2022-05-27T15:51:08.134Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-27T15:51:08.409Z] ---> Running in a9086e05751f [2022-05-27T15:51:08.683Z] Removing intermediate container a9086e05751f [2022-05-27T15:51:08.683Z] ---> cc8ef1a482cf [2022-05-27T15:51:08.683Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-27T15:51:09.281Z] ---> a418e39de2bf [2022-05-27T15:51:09.281Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T15:51:09.281Z] ---> Running in 7e96ed8c2144 [2022-05-27T15:51:56.279Z] Removing intermediate container 7e96ed8c2144 [2022-05-27T15:51:56.279Z] ---> c96d093d73a4 [2022-05-27T15:51:56.279Z] Step 11/12 : COPY . . [2022-05-27T15:51:56.279Z] ---> e620757e5ae7 [2022-05-27T15:51:56.279Z] Step 12/12 : RUN ${MAKE} [2022-05-27T15:51:56.279Z] ---> Running in 047f741c8ad3 [2022-05-27T15:51:56.279Z] noop [2022-05-27T15:51:56.279Z] Removing intermediate container 047f741c8ad3 [2022-05-27T15:51:56.279Z] ---> 1eefbe72db67 [2022-05-27T15:51:56.279Z] Successfully built 1eefbe72db67 [2022-05-27T15:51:56.279Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:51:56.635Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T15:51:56.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T15:51:56.862Z] prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container [2022-05-27T15:51:56.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-27T15:51:58.225Z] $ docker top e9db964c89e7d18acbe5e03f434d061889f175bd69ab7317ec7fa323cf86671c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T15:51:59.107Z] + go version [2022-05-27T15:51:59.108Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-27T15:51:59.136Z] $ docker stop --time=1 e9db964c89e7d18acbe5e03f434d061889f175bd69ab7317ec7fa323cf86671c [2022-05-27T15:52:00.794Z] $ docker rm -f e9db964c89e7d18acbe5e03f434d061889f175bd69ab7317ec7fa323cf86671c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:52:01.398Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T15:52:01.398Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T15:52:01.658Z] prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container [2022-05-27T15:52:01.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-27T15:52:03.037Z] $ docker top c8eb74e767fa86fe512c764a323b2244142eb0cbc5381b05939455f7e73ad36c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T15:52:03.935Z] + make test [2022-05-27T15:52:03.936Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-27T15:52:05.369Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-27T15:53:27.224Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-27T15:53:27.224Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-27T15:53:27.224Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-27T15:53:27.224Z] CGO_ENABLED=1 go vet ./... [2022-05-27T15:53:54.053Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T15:53:54.053Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T15:53:54.053Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-27T15:53:54.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T15:53:54.097Z] $ docker stop --time=1 c8eb74e767fa86fe512c764a323b2244142eb0cbc5381b05939455f7e73ad36c [2022-05-27T15:53:55.867Z] $ docker rm -f c8eb74e767fa86fe512c764a323b2244142eb0cbc5381b05939455f7e73ad36c [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T15:53:56.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T15:53:56.810Z] Warning: overwriting stash ‘coverage-report’ [2022-05-27T15:53:57.228Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T15:53:57.634Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T15:53:57.970Z] + ls -al . [2022-05-27T15:53:57.970Z] total 164 [2022-05-27T15:53:57.970Z] drwxrwxr-x 9 jenkins jenkins 4096 May 27 15:53 . [2022-05-27T15:53:57.970Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 15:50 .. [2022-05-27T15:53:57.970Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 15:50 .git [2022-05-27T15:53:57.970Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:50 .github [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 414 May 27 15:50 .gitignore [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 15:50 .golangci.yml [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 77 May 27 15:50 .hadolint.yml [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 27 15:50 Attribution.txt [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 181 May 27 15:50 CHANGELOG.md [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 27 15:50 Dockerfile [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 678 May 27 15:50 GOVERNANCE.md [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 659 May 27 15:50 Jenkinsfile [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 15:50 LICENSE [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 2345 May 27 15:50 Makefile [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 622 May 27 15:50 OWNERS.md [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 8912 May 27 15:50 README.md [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 15:48 VERSION [2022-05-27T15:53:57.970Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:50 bin [2022-05-27T15:53:57.970Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:50 cmd [2022-05-27T15:53:57.970Z] -rw-r--r-- 1 jenkins jenkins 10 May 27 15:52 coverage.out [2022-05-27T15:53:57.970Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:50 docker-compose [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 15:50 docker-entrypoint.sh [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 27 15:50 go.mod [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 27 15:50 go.sum [2022-05-27T15:53:57.970Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:50 internal [2022-05-27T15:53:57.970Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:50 snap [2022-05-27T15:53:57.970Z] -rw-rw-r-- 1 jenkins jenkins 231 May 27 15:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:53:58.323Z] + 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=1f03470b1734dc3652a250f94a689b6ea8731206 --label arch=arm64 --label version=0.0.0 . [2022-05-27T15:53:58.601Z] Sending build context to Docker daemon 486.9kB [2022-05-27T15:53:58.601Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T15:53:58.601Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-27T15:53:58.601Z] ---> 1eefbe72db67 [2022-05-27T15:53:58.601Z] Step 3/29 : ARG MAKE="make build" [2022-05-27T15:53:58.877Z] ---> Running in 37eca56cec10 [2022-05-27T15:53:59.151Z] Removing intermediate container 37eca56cec10 [2022-05-27T15:53:59.151Z] ---> 17173e357847 [2022-05-27T15:53:59.151Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T15:53:59.151Z] ---> Running in fe8ed1d75987 [2022-05-27T15:53:59.425Z] Removing intermediate container fe8ed1d75987 [2022-05-27T15:53:59.425Z] ---> ab4ae2efc71f [2022-05-27T15:53:59.425Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-27T15:53:59.425Z] ---> Running in c2e9bc3e502c [2022-05-27T15:53:59.701Z] Removing intermediate container c2e9bc3e502c [2022-05-27T15:53:59.701Z] ---> 1079d12ee262 [2022-05-27T15:53:59.701Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T15:53:59.991Z] ---> Running in 43101a670fe7 [2022-05-27T15:54:01.972Z] Removing intermediate container 43101a670fe7 [2022-05-27T15:54:01.972Z] ---> 105b6308f1c7 [2022-05-27T15:54:01.972Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T15:54:01.972Z] ---> Running in 3365f9af8056 [2022-05-27T15:54:02.569Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T15:54:03.549Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T15:54:04.534Z] OK: 227 MiB in 66 packages [2022-05-27T15:54:05.130Z] Removing intermediate container 3365f9af8056 [2022-05-27T15:54:05.130Z] ---> 389dcd3dae25 [2022-05-27T15:54:05.130Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-27T15:54:05.130Z] ---> Running in ea0a74e78377 [2022-05-27T15:54:05.402Z] Removing intermediate container ea0a74e78377 [2022-05-27T15:54:05.402Z] ---> 2a4427495ed5 [2022-05-27T15:54:05.402Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-27T15:54:06.010Z] ---> 7e79f486f70d [2022-05-27T15:54:06.010Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T15:54:06.010Z] ---> Running in 27d821c34b2b [2022-05-27T15:54:07.990Z] Removing intermediate container 27d821c34b2b [2022-05-27T15:54:07.990Z] ---> 72b8cef53788 [2022-05-27T15:54:07.990Z] Step 11/29 : COPY . . [2022-05-27T15:54:08.966Z] ---> c70a0824d6a1 [2022-05-27T15:54:08.966Z] Step 12/29 : RUN ${MAKE} [2022-05-27T15:54:08.966Z] ---> Running in ebf8c4448283 [2022-05-27T15:54:09.951Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-05-27T15:56:16.842Z] Removing intermediate container ebf8c4448283 [2022-05-27T15:56:16.842Z] ---> 1a4f2b1f3a0f [2022-05-27T15:56:16.842Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-27T15:56:16.842Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-27T15:56:16.842Z] eab2503cf8f4: Pulling fs layer [2022-05-27T15:56:16.842Z] 97cd0a44c592: Pulling fs layer [2022-05-27T15:56:16.842Z] 97cd0a44c592: Verifying Checksum [2022-05-27T15:56:16.842Z] 97cd0a44c592: Download complete [2022-05-27T15:56:16.842Z] eab2503cf8f4: Verifying Checksum [2022-05-27T15:56:16.842Z] eab2503cf8f4: Download complete [2022-05-27T15:56:16.842Z] eab2503cf8f4: Pull complete [2022-05-27T15:56:16.842Z] 97cd0a44c592: Pull complete [2022-05-27T15:56:16.842Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-27T15:56:16.842Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-27T15:56:16.842Z] ---> 7f763cca56b3 [2022-05-27T15:56:16.842Z] Step 14/29 : FROM alpine:3.15 [2022-05-27T15:56:16.842Z] 3.15: Pulling from library/alpine [2022-05-27T15:56:16.842Z] 9981e73032c8: Pulling fs layer [2022-05-27T15:56:16.842Z] 9981e73032c8: Verifying Checksum [2022-05-27T15:56:16.842Z] 9981e73032c8: Download complete [2022-05-27T15:56:16.842Z] 9981e73032c8: Pull complete [2022-05-27T15:56:16.842Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-27T15:56:16.842Z] Status: Downloaded newer image for alpine:3.15 [2022-05-27T15:56:16.842Z] ---> 3fb3c9af89a9 [2022-05-27T15:56:16.842Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-27T15:56:16.842Z] ---> Running in ca713fea126d [2022-05-27T15:56:16.842Z] Removing intermediate container ca713fea126d [2022-05-27T15:56:16.842Z] ---> d22a70e128f7 [2022-05-27T15:56:16.842Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-27T15:56:16.842Z] ---> Running in cab7878a3f96 [2022-05-27T15:56:16.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T15:56:16.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T15:56:16.842Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-05-27T15:56:16.842Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-05-27T15:56:16.842Z] (3/73) Installing libxau (1.0.9-r0) [2022-05-27T15:56:16.842Z] (4/73) Installing libmd (1.0.3-r0) [2022-05-27T15:56:16.842Z] (5/73) Installing libbsd (0.11.3-r1) [2022-05-27T15:56:16.842Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-05-27T15:56:16.842Z] (7/73) Installing libxcb (1.14-r2) [2022-05-27T15:56:16.842Z] (8/73) Installing libx11 (1.7.2-r0) [2022-05-27T15:56:16.842Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-05-27T15:56:16.842Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-05-27T15:56:16.842Z] (11/73) Installing expat (2.4.7-r0) [2022-05-27T15:56:16.842Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-05-27T15:56:16.842Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-05-27T15:56:16.842Z] (14/73) Installing libpng (1.6.37-r1) [2022-05-27T15:56:16.842Z] (15/73) Installing freetype (2.11.1-r2) [2022-05-27T15:56:16.842Z] (16/73) Installing libuuid (2.37.4-r0) [2022-05-27T15:56:16.842Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-05-27T15:56:16.842Z] (18/73) Installing fribidi (1.0.11-r0) [2022-05-27T15:56:16.842Z] (19/73) Installing libffi (3.4.2-r1) [2022-05-27T15:56:16.842Z] (20/73) Installing libintl (0.21-r0) [2022-05-27T15:56:16.843Z] (21/73) Installing libblkid (2.37.4-r0) [2022-05-27T15:56:16.843Z] (22/73) Installing libmount (2.37.4-r0) [2022-05-27T15:56:16.843Z] (23/73) Installing pcre (8.45-r1) [2022-05-27T15:56:16.843Z] (24/73) Installing glib (2.70.1-r0) [2022-05-27T15:56:16.843Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-05-27T15:56:16.843Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-05-27T15:56:16.843Z] (27/73) Installing libass (0.15.2-r0) [2022-05-27T15:56:16.843Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-05-27T15:56:16.843Z] (29/73) Installing gmp (6.2.1-r1) [2022-05-27T15:56:16.843Z] (30/73) Installing nettle (3.7.3-r0) [2022-05-27T15:56:16.843Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-05-27T15:56:16.843Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-05-27T15:56:16.843Z] (33/73) Installing libunistring (0.9.10-r1) [2022-05-27T15:56:16.843Z] (34/73) Installing gnutls (3.7.1-r0) [2022-05-27T15:56:16.843Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-27T15:56:16.843Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-27T15:56:16.843Z] (37/73) Installing lame (3.100-r0) [2022-05-27T15:56:16.843Z] (38/73) Installing opus (1.3.1-r1) [2022-05-27T15:56:16.843Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-05-27T15:56:16.843Z] (40/73) Installing soxr (0.1.3-r2) [2022-05-27T15:56:16.843Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-05-27T15:56:16.843Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-27T15:56:16.843Z] (43/73) Installing libsrt (1.4.2-r1) [2022-05-27T15:56:16.843Z] (44/73) Installing libssh (0.9.6-r1) [2022-05-27T15:56:16.843Z] (45/73) Installing libogg (1.3.5-r0) [2022-05-27T15:56:16.843Z] (46/73) Installing libtheora (1.1.1-r16) [2022-05-27T15:56:16.843Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-05-27T15:56:16.843Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-05-27T15:56:16.843Z] (49/73) Installing libxext (1.3.4-r0) [2022-05-27T15:56:16.843Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-05-27T15:56:16.843Z] (51/73) Installing libdrm (2.4.109-r0) [2022-05-27T15:56:16.843Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-05-27T15:56:16.843Z] (53/73) Installing libva (2.13.0-r0) [2022-05-27T15:56:16.843Z] (54/73) Installing libvdpau (1.4-r0) [2022-05-27T15:56:16.843Z] (55/73) Installing vidstab (1.1.0-r1) [2022-05-27T15:56:16.843Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-05-27T15:56:16.843Z] (57/73) Installing libvpx (1.10.0-r0) [2022-05-27T15:56:16.843Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-05-27T15:56:16.843Z] (59/73) Installing libwebp (1.2.2-r0) [2022-05-27T15:56:16.843Z] (60/73) Installing x264-libs (20210613-r0) [2022-05-27T15:56:16.843Z] (61/73) Installing x265-libs (3.5-r0) [2022-05-27T15:56:16.843Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-05-27T15:56:16.843Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-05-27T15:56:16.843Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-05-27T15:56:16.843Z] (65/73) Installing udev-init-scripts (35-r0) [2022-05-27T15:56:16.843Z] Executing udev-init-scripts-35-r0.post-install [2022-05-27T15:56:16.843Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-27T15:56:16.843Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-05-27T15:56:16.843Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-05-27T15:56:16.843Z] (69/73) Installing kmod-libs (29-r2) [2022-05-27T15:56:16.843Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-05-27T15:56:16.843Z] (71/73) Installing libsodium (1.0.18-r0) [2022-05-27T15:56:16.843Z] (72/73) Installing libzmq (4.3.4-r0) [2022-05-27T15:56:16.843Z] (73/73) Installing zeromq (4.3.4-r0) [2022-05-27T15:56:16.843Z] Executing busybox-1.34.1-r5.trigger [2022-05-27T15:56:16.843Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-27T15:56:16.843Z] OK: 67 MiB in 87 packages [2022-05-27T15:56:16.843Z] Removing intermediate container cab7878a3f96 [2022-05-27T15:56:16.843Z] ---> 568d2e297fe1 [2022-05-27T15:56:16.843Z] Step 17/29 : WORKDIR / [2022-05-27T15:56:16.843Z] ---> Running in 3393547d3307 [2022-05-27T15:56:17.119Z] Removing intermediate container 3393547d3307 [2022-05-27T15:56:17.119Z] ---> 6b321f104b00 [2022-05-27T15:56:17.119Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-27T15:56:18.587Z] ---> a3bdd4e0f581 [2022-05-27T15:56:18.587Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-27T15:56:19.187Z] ---> d8a9688fcc3a [2022-05-27T15:56:19.187Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-27T15:56:19.787Z] ---> ad5bca9f0360 [2022-05-27T15:56:19.787Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-27T15:56:20.390Z] ---> d6e00e1a0d27 [2022-05-27T15:56:20.390Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-27T15:56:20.664Z] ---> 2c62997b2aaa [2022-05-27T15:56:20.664Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-27T15:56:22.101Z] ---> d5e6e2dc05d1 [2022-05-27T15:56:22.101Z] Step 24/29 : EXPOSE 59983 [2022-05-27T15:56:22.101Z] ---> Running in bd03026760ca [2022-05-27T15:56:22.377Z] Removing intermediate container bd03026760ca [2022-05-27T15:56:22.377Z] ---> d83ecef0961b [2022-05-27T15:56:22.377Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-27T15:56:22.377Z] ---> Running in 69631b18b387 [2022-05-27T15:56:22.653Z] Removing intermediate container 69631b18b387 [2022-05-27T15:56:22.653Z] ---> 20237aa3a35e [2022-05-27T15:56:22.653Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-27T15:56:22.929Z] ---> Running in cf346c8b0ab5 [2022-05-27T15:56:23.206Z] Removing intermediate container cf346c8b0ab5 [2022-05-27T15:56:23.206Z] ---> 9ad7317e054b [2022-05-27T15:56:23.206Z] Step 27/29 : LABEL arch=arm64 [2022-05-27T15:56:23.206Z] ---> Running in fc3b0555cd71 [2022-05-27T15:56:23.479Z] Removing intermediate container fc3b0555cd71 [2022-05-27T15:56:23.479Z] ---> 7eec8fb817de [2022-05-27T15:56:23.479Z] Step 28/29 : LABEL git_sha=1f03470b1734dc3652a250f94a689b6ea8731206 [2022-05-27T15:56:23.479Z] ---> Running in c73f80c3c324 [2022-05-27T15:56:23.752Z] Removing intermediate container c73f80c3c324 [2022-05-27T15:56:23.752Z] ---> fb1b020ada60 [2022-05-27T15:56:24.025Z] Step 29/29 : LABEL version=0.0.0 [2022-05-27T15:56:24.025Z] ---> Running in c9a81d79d800 [2022-05-27T15:56:24.303Z] Removing intermediate container c9a81d79d800 [2022-05-27T15:56:24.303Z] ---> 093a197bf008 [2022-05-27T15:56:24.303Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T15:56:24.303Z] Successfully built 093a197bf008 [2022-05-27T15:56:24.303Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:56:24.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T15:56:24.959Z] [2022-05-27T15:56:24.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:56:25.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T15:56:25.582Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-27T15:56:25.582Z] 8998bd30e6a1: Pulling fs layer [2022-05-27T15:56:25.582Z] 04944245beec: Pulling fs layer [2022-05-27T15:56:25.582Z] 699f458cf7ca: Pulling fs layer [2022-05-27T15:56:25.582Z] 765212b225bb: Pulling fs layer [2022-05-27T15:56:25.582Z] f23df028b6ca: Pulling fs layer [2022-05-27T15:56:25.582Z] d65c8cfc05b1: Pulling fs layer [2022-05-27T15:56:25.582Z] 2437ff75d9bd: Pulling fs layer [2022-05-27T15:56:25.582Z] d65c8cfc05b1: Waiting [2022-05-27T15:56:25.582Z] f23df028b6ca: Waiting [2022-05-27T15:56:25.582Z] 765212b225bb: Waiting [2022-05-27T15:56:25.582Z] 04944245beec: Verifying Checksum [2022-05-27T15:56:25.582Z] 04944245beec: Download complete [2022-05-27T15:56:25.582Z] 765212b225bb: Verifying Checksum [2022-05-27T15:56:25.582Z] 765212b225bb: Download complete [2022-05-27T15:56:25.582Z] f23df028b6ca: Verifying Checksum [2022-05-27T15:56:25.582Z] f23df028b6ca: Download complete [2022-05-27T15:56:25.582Z] d65c8cfc05b1: Verifying Checksum [2022-05-27T15:56:25.582Z] d65c8cfc05b1: Download complete [2022-05-27T15:56:25.856Z] 699f458cf7ca: Verifying Checksum [2022-05-27T15:56:25.856Z] 699f458cf7ca: Download complete [2022-05-27T15:56:26.132Z] 8998bd30e6a1: Verifying Checksum [2022-05-27T15:56:26.132Z] 8998bd30e6a1: Download complete [2022-05-27T15:56:28.109Z] 2437ff75d9bd: Verifying Checksum [2022-05-27T15:56:28.109Z] 2437ff75d9bd: Download complete [2022-05-27T15:56:30.735Z] 8998bd30e6a1: Pull complete [2022-05-27T15:56:31.010Z] 04944245beec: Pull complete [2022-05-27T15:56:32.446Z] 699f458cf7ca: Pull complete [2022-05-27T15:56:32.446Z] 765212b225bb: Pull complete [2022-05-27T15:56:33.425Z] f23df028b6ca: Pull complete [2022-05-27T15:56:33.699Z] d65c8cfc05b1: Pull complete [2022-05-27T15:56:48.802Z] 2437ff75d9bd: Pull complete [2022-05-27T15:56:48.802Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-27T15:56:48.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T15:56:48.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T15:56:49.070Z] prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container [2022-05-27T15:56:49.158Z] $ 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/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-27T15:56:51.626Z] $ docker top 38afb981265c8e743408ac3b8b241fa4f3b04b2e53db0e802de757ea3a644a7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:56:52.539Z] ---> job-cost.sh [2022-05-27T15:56:52.539Z] lf-activate-venv: SKIPPING [2022-05-27T15:56:52.539Z] INFO: No Stack... [2022-05-27T15:56:53.520Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-27T15:56:54.500Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T15:56:55.166Z] + + cut -d,cat -f6 /w/workspace/device-usb-camera/11/archives/cost.csv [2022-05-27T15:56:55.167Z] [Pipeline] lock [2022-05-27T15:56:55.233Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [2022-05-27T15:56:55.239Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] did not exist. Created. [2022-05-27T15:56:55.239Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T15:56:55.918Z] /w/workspace/device-usb-camera/11@tmp/durable-39041921/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-27T15:56:56.603Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-27T15:56:56.625Z] Warning: overwriting stash ‘stack-cost’ [2022-05-27T15:56:56.679Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T15:56:56.688Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T15:56:56.709Z] $ docker stop --time=1 38afb981265c8e743408ac3b8b241fa4f3b04b2e53db0e802de757ea3a644a7a [2022-05-27T15:56:58.207Z] $ docker rm -f 38afb981265c8e743408ac3b8b241fa4f3b04b2e53db0e802de757ea3a644a7a [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-27T15:56:58.619Z] provisioning config files... [2022-05-27T15:56:58.627Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config6691440901039136496tmp [Pipeline] { [Pipeline] sh [2022-05-27T15:56:58.918Z] + set +x [2022-05-27T15:56:58.918Z] + + curl -s https://codecov.io/bashbash [2022-05-27T15:56:58.918Z] -s -- [2022-05-27T15:56:58.918Z] [2022-05-27T15:56:58.918Z] _____ _ [2022-05-27T15:56:58.918Z] / ____| | | [2022-05-27T15:56:58.918Z] | | ___ __| | ___ ___ _____ __ [2022-05-27T15:56:58.918Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-27T15:56:58.918Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-27T15:56:58.918Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-27T15:56:58.918Z] Bash-1.0.6 [2022-05-27T15:56:58.918Z] [2022-05-27T15:56:58.918Z] [2022-05-27T15:56:58.918Z] ==> git version 2.25.1 found [2022-05-27T15:56:58.918Z] ==> 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-27T15:56:58.918Z] Release-Date: 2020-01-08 [2022-05-27T15:56:58.918Z] 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-27T15:56:58.918Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-27T15:56:58.918Z] ==> Jenkins CI detected. [2022-05-27T15:56:58.918Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-05-27T15:56:58.918Z] project root: . [2022-05-27T15:56:58.918Z] --> token set from env [2022-05-27T15:56:58.918Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-27T15:56:58.918Z] ==> Running gcov in . (disable via -X gcov) [2022-05-27T15:56:58.918Z] ==> Python coveragepy not found [2022-05-27T15:56:58.919Z] ==> Searching for coverage reports in: [2022-05-27T15:56:58.919Z] + . [2022-05-27T15:56:58.919Z] -> Found 1 reports [2022-05-27T15:56:58.919Z] ==> Detecting git/mercurial file structure [2022-05-27T15:56:58.919Z] ==> Reading reports [2022-05-27T15:56:58.919Z] + ./coverage.out bytes=10 [2022-05-27T15:56:58.919Z] ==> Appending adjustments [2022-05-27T15:56:58.919Z] https://docs.codecov.io/docs/fixing-reports [2022-05-27T15:56:59.178Z] + Found adjustments [2022-05-27T15:56:59.178Z] ==> Gzipping contents [2022-05-27T15:56:59.178Z] 4.0K /tmp/codecov.Wjm0S7.gz [2022-05-27T15:56:59.178Z] ==> Uploading reports [2022-05-27T15:56:59.178Z] url: https://codecov.io [2022-05-27T15:56:59.178Z] query: branch=PR-30&commit=1f03470b1734dc3652a250f94a689b6ea8731206&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-05-27T15:56:59.178Z] -> Pinging Codecov [2022-05-27T15:56:59.178Z] 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=1f03470b1734dc3652a250f94a689b6ea8731206&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-05-27T15:56:59.439Z] -> Uploading to [2022-05-27T15:56:59.439Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-27/73D8F5FF140700D3E01443B452E23636/1f03470b1734dc3652a250f94a689b6ea8731206/930608cd-c0fd-4ff7-9254-f53d147ba3c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220527T155659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5161abb48b622903013cbaa10be0cc9188d3b6a4479084f710e507720ac7b15d [2022-05-27T15:56:59.439Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T15:56:59.439Z] Dload Upload Total Spent Left Speed [2022-05-27T15:56:59.700Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1201 0 0 100 1201 0 5067 --:--:-- --:--:-- --:--:-- 5067 [2022-05-27T15:56:59.700Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] } [2022-05-27T15:56:59.708Z] 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-27T15:57:00.334Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-05-27T15:57:00.334Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-27T15:57:00.334Z] total 16 [2022-05-27T15:57:00.334Z] drwxr-xr-x 3 root root 4096 May 27 15:49 . [2022-05-27T15:57:00.334Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 15:49 .. [2022-05-27T15:57:00.334Z] drwxr-xr-x 2 root root 4096 May 27 15:49 cost [2022-05-27T15:57:00.334Z] -rw-r--r-- 1 root root 88 May 27 15:49 cost.csv [2022-05-27T15:57:00.334Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-27T15:57:00.334Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-27T15:57:00.334Z] total 16 [2022-05-27T15:57:00.334Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 15:49 . [2022-05-27T15:57:00.334Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 15:49 .. [2022-05-27T15:57:00.334Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 15:49 cost [2022-05-27T15:57:00.334Z] -rw-r--r-- 1 jenkins jenkins 88 May 27 15:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:57:00.624Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:57:01.492Z] ---> package-listing.sh [2022-05-27T15:57:01.492Z] ++ facter osfamily [2022-05-27T15:57:01.492Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-27T15:57:01.755Z] + OS_FAMILY=debian [2022-05-27T15:57:01.755Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-05-27T15:57:01.755Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-27T15:57:01.755Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-27T15:57:01.755Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-27T15:57:01.755Z] + PACKAGES=/tmp/packages_start.txt [2022-05-27T15:57:01.755Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-05-27T15:57:01.755Z] + PACKAGES=/tmp/packages_end.txt [2022-05-27T15:57:01.755Z] + case "${OS_FAMILY}" in [2022-05-27T15:57:01.755Z] + dpkg -l [2022-05-27T15:57:01.755Z] + grep '^ii' [2022-05-27T15:57:01.755Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-27T15:57:01.755Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-27T15:57:01.755Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-27T15:57:01.755Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-05-27T15:57:01.755Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-05-27T15:57:01.755Z] + 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-27T15:57:01.766Z] 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-27T15:57:02.048Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T15:57:02.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T15:57:02.610Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T15:57:02.694Z] prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container [2022-05-27T15:57:02.724Z] $ 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-27T15:57:02.948Z] $ docker top 4b98f60c8a003eb10bcfefbb92f54723c1cd1ec6138e76db2061ffb96d460986 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T15:57:03.304Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-27T15:57:03.589Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-27T15:57:03.875Z] + ls /var/log/sa-host [2022-05-27T15:57:03.876Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T15:57:03.941Z] provisioning config files... [2022-05-27T15:57:03.957Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8282006188794538785tmp [Pipeline] { [Pipeline] echo [2022-05-27T15:57:03.972Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:57:04.256Z] ---> create-netrc.sh [Pipeline] } [2022-05-27T15:57:04.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:57:04.596Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-27T15:57:04.605Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:57:04.890Z] ---> sudo-logs.sh [2022-05-27T15:57:04.890Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-27T15:57:04.924Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:57:05.211Z] ---> job-cost.sh [2022-05-27T15:57:05.211Z] lf-activate-venv: SKIPPING [2022-05-27T15:57:05.211Z] DEBUG: total: 0.2199999988079071 [2022-05-27T15:57:05.211Z] INFO: Retrieving Stack Cost... [2022-05-27T15:57:05.471Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T15:57:06.042Z] INFO: Archiving Costs [Pipeline] echo [2022-05-27T15:57:06.055Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T15:57:06.338Z] ---> logs-deploy.sh [2022-05-27T15:57:06.338Z] lf-activate-venv: SKIPPING [2022-05-27T15:57:06.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/11 [2022-05-27T15:57:06.338Z] INFO: archiving workspace using pattern(s): [2022-05-27T15:57:07.279Z] Archives upload complete. [2022-05-27T15:57:07.279Z] INFO: archiving logs to Nexus