Pull request #27 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 FelixTing for edgexfoundry/device-usb-camera Obtained Jenkinsfile from ae23d33e49d4e732ed09d52c67cd5d0193042c30+64a0158ebb7ef051a7494343a06668853522f3e5 (566aa5b28124f6546d51e079310cf0a4169f808d) 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-ssh10838853519615240662.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-ssh18373666609287832296.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-27/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-27/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3818046912371764580.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3068778881677085419.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-27/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-27/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9039898857044789090.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-64171’ is offline Running on prd-ubuntu20.04-docker-8c-8g-64173 in /w/workspace/xfoundry_device-usb-camera_PR-27 [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-27 # 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/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 64a0158ebb7ef051a7494343a06668853522f3e5 into PR head commit ae23d33e49d4e732ed09d52c67cd5d0193042c30 Merge succeeded, producing 39bf0d04bda255fe6af5bda747436c74eca6fe62 Checking out Revision 39bf0d04bda255fe6af5bda747436c74eca6fe62 (PR-27) > git config core.sparsecheckout # timeout=10 > git checkout -f ae23d33e49d4e732ed09d52c67cd5d0193042c30 # 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 64a0158ebb7ef051a7494343a06668853522f3e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39bf0d04bda255fe6af5bda747436c74eca6fe62 # timeout=10 Commit message: "Merge commit '64a0158ebb7ef051a7494343a06668853522f3e5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:22:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:22:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:22:18 ========================================================= 08:22:18 EdgeX Global Pipelines Version Info 08:22:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c9c9139f78799d6580d2592f90bd4161b900c8f4 # timeout=10 08:22:19 ------------------- 08:22:19 stable info: 08:22:19 ------------------- 08:22:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:22:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 08:22:19 Message: update stable to v1.0.230 08:22:19 ------------------- 08:22:19 experimental info: 08:22:19 ------------------- 08:22:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:22:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 08:22:19 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:22:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:22:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:22:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-27 [Pipeline] echo 08:22:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-27 [Pipeline] echo 08:22:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-27 [Pipeline] echo 08:22:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39bf0d04bda255fe6af5bda747436c74eca6fe62 [Pipeline] echo 08:22:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39bf0d0 [Pipeline] echo 08:22:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:22:25 provisioning config files... 08:22:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/config7318087207092972058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:26 ---> docker-login.sh 08:22:26 nexus3.edgexfoundry.org:10001 08:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:26 Configure a credential helper to remove this warning. See 08:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:26 08:22:26 Login Succeeded 08:22:26 nexus3.edgexfoundry.org:10002 08:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:26 Configure a credential helper to remove this warning. See 08:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:26 08:22:26 Login Succeeded 08:22:26 nexus3.edgexfoundry.org:10003 08:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:26 Configure a credential helper to remove this warning. See 08:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:26 08:22:26 Login Succeeded 08:22:26 nexus3.edgexfoundry.org:10004 08:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:26 Configure a credential helper to remove this warning. See 08:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:26 08:22:26 Login Succeeded 08:22:26 docker.io 08:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:27 Configure a credential helper to remove this warning. See 08:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:27 08:22:27 Login Succeeded 08:22:27 ---> docker-login.sh ends [Pipeline] } 08:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:22:27 + git rev-list -1 --merges 39bf0d04bda255fe6af5bda747436c74eca6fe62~1..39bf0d04bda255fe6af5bda747436c74eca6fe62 [Pipeline] echo 08:22:27 -----------> git rev-list -1 --merges 39bf0d04bda255fe6af5bda747436c74eca6fe62~1..39bf0d04bda255fe6af5bda747436c74eca6fe62 39bf0d04bda255fe6af5bda747436c74eca6fe62 08:22:27 39bf0d04bda255fe6af5bda747436c74eca6fe62 [false] [Pipeline] sh 08:22:28 + git log --format=format:%s -1 39bf0d04bda255fe6af5bda747436c74eca6fe62 [Pipeline] echo 08:22:28 ========================================================= 08:22:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:22:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:22:28 + git log --format=format:%s -1 39bf0d04bda255fe6af5bda747436c74eca6fe62 [Pipeline] echo 08:22:28 [semverPrep] GIT_COMMIT: 39bf0d04bda255fe6af5bda747436c74eca6fe62, Commit Message: Merge commit '64a0158ebb7ef051a7494343a06668853522f3e5' into HEAD [Pipeline] echo 08:22:28 [semverPrep] This is not a build commit. [Pipeline] sh 08:22:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:22:28 + grep -v github /etc/ssh/ssh_known_hosts 08:22:28 + [ -e /tmp/ssh_known_hosts ] 08:22:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:22:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:22:28 + sudo tee -a /etc/ssh/ssh_known_hosts 08:22:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:22:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:22:29 08:22:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:22:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:22:29 latest: Pulling from edgex-devops/py-git-semver 08:22:29 1fe172e4850f: Pulling fs layer 08:22:29 caf521ccaac6: Pulling fs layer 08:22:29 3ead6fa29328: Pulling fs layer 08:22:29 5c2a1cbceb83: Pulling fs layer 08:22:29 a8d5f1318db7: Pulling fs layer 08:22:29 c427282e49a2: Pulling fs layer 08:22:29 1827001aaf11: Pulling fs layer 08:22:29 0714d37db230: Pulling fs layer 08:22:29 ac28cf19c067: Pulling fs layer 08:22:29 ca983d60f3e2: Pulling fs layer 08:22:29 9f894cec8388: Pulling fs layer 08:22:29 1827001aaf11: Waiting 08:22:29 a8d5f1318db7: Waiting 08:22:29 0714d37db230: Waiting 08:22:29 5c2a1cbceb83: Waiting 08:22:29 ac28cf19c067: Waiting 08:22:29 9f894cec8388: Waiting 08:22:29 c427282e49a2: Waiting 08:22:29 caf521ccaac6: Download complete 08:22:29 5c2a1cbceb83: Verifying Checksum 08:22:29 a8d5f1318db7: Verifying Checksum 08:22:29 a8d5f1318db7: Download complete 08:22:29 c427282e49a2: Verifying Checksum 08:22:29 c427282e49a2: Download complete 08:22:29 3ead6fa29328: Verifying Checksum 08:22:29 3ead6fa29328: Download complete 08:22:29 0714d37db230: Verifying Checksum 08:22:29 0714d37db230: Download complete 08:22:30 ac28cf19c067: Download complete 08:22:30 ca983d60f3e2: Verifying Checksum 08:22:30 ca983d60f3e2: Download complete 08:22:30 9f894cec8388: Verifying Checksum 08:22:30 9f894cec8388: Download complete 08:22:30 1fe172e4850f: Verifying Checksum 08:22:30 1fe172e4850f: Download complete 08:22:30 1827001aaf11: Verifying Checksum 08:22:30 1827001aaf11: Download complete 08:22:31 1fe172e4850f: Pull complete 08:22:31 caf521ccaac6: Pull complete 08:22:31 3ead6fa29328: Pull complete 08:22:32 5c2a1cbceb83: Pull complete 08:22:32 a8d5f1318db7: Pull complete 08:22:32 c427282e49a2: Pull complete 08:22:34 1827001aaf11: Pull complete 08:22:34 0714d37db230: Pull complete 08:22:34 ac28cf19c067: Pull complete 08:22:34 ca983d60f3e2: Pull complete 08:22:34 9f894cec8388: Pull complete 08:22:34 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 08:22:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:22:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 08:22:34 prd-ubuntu20.04-docker-8c-8g-64173 does not seem to be running inside a container 08:22:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 08:22:36 $ docker top eb226835eff953d9a41339542089b4775eb2f616863b7cc747e29c444ba8f18c -eo pid,comm 08:22:36 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). 08:22:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:22:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:22:36 [ssh-agent] Looking for ssh-agent implementation... 08:22:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:22:36 $ docker exec eb226835eff953d9a41339542089b4775eb2f616863b7cc747e29c444ba8f18c ssh-agent 08:22:36 SSH_AUTH_SOCK=/tmp/ssh-myrWeKJsfb3n/agent.34 08:22:36 SSH_AGENT_PID=40 08:22:36 Running ssh-add (command line suppressed) 08:22:36 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-27@tmp/private_key_2061798481258457786.key (/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/private_key_2061798481258457786.key) 08:22:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:36 + git tag --points-at HEAD [Pipeline] } 08:22:36 $ docker exec --env ******** --env ******** eb226835eff953d9a41339542089b4775eb2f616863b7cc747e29c444ba8f18c ssh-agent -k 08:22:37 unset SSH_AUTH_SOCK; 08:22:37 unset SSH_AGENT_PID; 08:22:37 echo Agent pid 40 killed; 08:22:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:22:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:22:37 [ssh-agent] Looking for ssh-agent implementation... 08:22:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:22:37 $ docker exec eb226835eff953d9a41339542089b4775eb2f616863b7cc747e29c444ba8f18c ssh-agent 08:22:37 SSH_AUTH_SOCK=/tmp/ssh-5x9TOzsDnSOC/agent.74 08:22:37 SSH_AGENT_PID=81 08:22:37 Running ssh-add (command line suppressed) 08:22:37 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-27@tmp/private_key_7975518188021745235.key (/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/private_key_7975518188021745235.key) 08:22:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:37 + git semver init 08:22:38 2022-05-20 08:22:38,041 [run_init] DEBUG init version:0.0.0 force:False 08:22:38 2022-05-20 08:22:38,042 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-27/.semver 08:22:38 2022-05-20 08:22:38,043 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-27/.semver 08:22:38 2022-05-20 08:22:38,043 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-27/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-27, universal_newlines=False, shell=None, istream=None) 08:22:38 2022-05-20 08:22:38,585 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-27/.git/info/exclude 08:22:38 2022-05-20 08:22:38,585 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-27/.semver/PR-27 with force:False 08:22:38 2022-05-20 08:22:38,585 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-27/.semver/PR-27 08:22:38 2022-05-20 08:22:38,588 [execute] INFO git cat-file --batch-check 08:22:38 2022-05-20 08:22:38,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-27/.semver, universal_newlines=False, shell=None, istream=) 08:22:38 2022-05-20 08:22:38,594 [execute] INFO git cat-file --batch 08:22:38 2022-05-20 08:22:38,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-27/.semver, universal_newlines=False, shell=None, istream=) 08:22:38 2022-05-20 08:22:38,600 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-27/.semver/PR-27 08:22:38 0.0.0 [Pipeline] } 08:22:38 $ docker exec --env ******** --env ******** eb226835eff953d9a41339542089b4775eb2f616863b7cc747e29c444ba8f18c ssh-agent -k 08:22:38 unset SSH_AUTH_SOCK; 08:22:38 unset SSH_AGENT_PID; 08:22:38 echo Agent pid 81 killed; 08:22:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:22:39 + git semver [Pipeline] } 08:22:39 $ docker stop --time=1 eb226835eff953d9a41339542089b4775eb2f616863b7cc747e29c444ba8f18c 08:22:40 $ docker rm -f eb226835eff953d9a41339542089b4775eb2f616863b7cc747e29c444ba8f18c [Pipeline] // withDockerContainer [Pipeline] sh 08:22:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:22:41 Stashed 1 file(s) [Pipeline] echo 08:22:41 [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 08:22:41 provisioning config files... 08:22:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/config6394580719741431397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:41 ---> docker-login.sh 08:22:41 nexus3.edgexfoundry.org:10001 08:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:41 Configure a credential helper to remove this warning. See 08:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:41 08:22:41 Login Succeeded 08:22:41 nexus3.edgexfoundry.org:10002 08:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:42 Configure a credential helper to remove this warning. See 08:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:42 08:22:42 Login Succeeded 08:22:42 nexus3.edgexfoundry.org:10003 08:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:42 Configure a credential helper to remove this warning. See 08:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:42 08:22:42 Login Succeeded 08:22:42 nexus3.edgexfoundry.org:10004 08:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:42 Configure a credential helper to remove this warning. See 08:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:42 08:22:42 Login Succeeded 08:22:42 docker.io 08:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:42 Configure a credential helper to remove this warning. See 08:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:42 08:22:42 Login Succeeded 08:22:42 ---> docker-login.sh ends [Pipeline] } 08:22:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:22:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:22:42 ========================================================= 08:22:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:22:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:22:43 + 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 . 08:22:43 Sending build context to Docker daemon 574kB 08:22:43 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:22:43 Step 2/12 : FROM ${BASE} AS builder 08:22:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:22:43 59bf1c3509f3: Pulling fs layer 08:22:43 666ba61612fd: Pulling fs layer 08:22:43 8ed8ca486205: Pulling fs layer 08:22:43 4fe6c5a15a65: Pulling fs layer 08:22:43 22a0e8bec74d: Pulling fs layer 08:22:43 ca2b28591e48: Pulling fs layer 08:22:43 a51346096db8: Pulling fs layer 08:22:43 daebc70d1ce1: Pulling fs layer 08:22:43 0e18a0eac166: Pulling fs layer 08:22:43 a51346096db8: Waiting 08:22:43 22a0e8bec74d: Waiting 08:22:43 daebc70d1ce1: Waiting 08:22:43 0e18a0eac166: Waiting 08:22:43 ca2b28591e48: Waiting 08:22:43 4fe6c5a15a65: Waiting 08:22:43 8ed8ca486205: Verifying Checksum 08:22:43 8ed8ca486205: Download complete 08:22:43 666ba61612fd: Download complete 08:22:43 22a0e8bec74d: Verifying Checksum 08:22:43 22a0e8bec74d: Download complete 08:22:43 ca2b28591e48: Download complete 08:22:43 59bf1c3509f3: Verifying Checksum 08:22:43 59bf1c3509f3: Download complete 08:22:43 daebc70d1ce1: Verifying Checksum 08:22:43 daebc70d1ce1: Download complete 08:22:43 59bf1c3509f3: Pull complete 08:22:43 666ba61612fd: Pull complete 08:22:43 8ed8ca486205: Pull complete 08:22:43 a51346096db8: Verifying Checksum 08:22:43 a51346096db8: Download complete 08:22:44 0e18a0eac166: Verifying Checksum 08:22:44 0e18a0eac166: Download complete 08:22:45 4fe6c5a15a65: Verifying Checksum 08:22:45 4fe6c5a15a65: Download complete 08:22:49 4fe6c5a15a65: Pull complete 08:22:49 22a0e8bec74d: Pull complete 08:22:49 ca2b28591e48: Pull complete 08:22:49 a51346096db8: Pull complete 08:22:49 daebc70d1ce1: Pull complete 08:22:51 0e18a0eac166: Pull complete 08:22:51 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:22:51 ---> f018257e8ee9 08:22:51 Step 3/12 : ARG MAKE="make build" 08:22:53 ---> Running in 7857a67c2ff5 08:22:53 Removing intermediate container 7857a67c2ff5 08:22:53 ---> f670ab25540a 08:22:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:22:53 ---> Running in 39b79ef88869 08:22:53 Removing intermediate container 39b79ef88869 08:22:53 ---> f03c2a934976 08:22:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:22:53 ---> Running in c6f9bbf1148a 08:22:53 Removing intermediate container c6f9bbf1148a 08:22:53 ---> 5942f42ad084 08:22:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:22:53 ---> Running in c614260b1f80 08:22:53 Removing intermediate container c614260b1f80 08:22:53 ---> db149952f949 08:22:53 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:22:53 ---> Running in 1501db922eaa 08:22:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:22:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:22:55 (1/81) Installing mesa (21.2.6-r0) 08:22:55 (2/81) Installing libxau (1.0.9-r0) 08:22:55 (3/81) Installing libmd (1.0.3-r0) 08:22:55 (4/81) Installing libbsd (0.11.3-r1) 08:22:55 (5/81) Installing libxdmcp (1.1.3-r0) 08:22:55 (6/81) Installing libxcb (1.14-r2) 08:22:55 (7/81) Installing libx11 (1.7.2-r0) 08:22:55 (8/81) Installing libxext (1.3.4-r0) 08:22:56 (9/81) Installing libxfixes (6.0.0-r0) 08:22:56 (10/81) Installing libxxf86vm (1.1.4-r2) 08:22:56 (11/81) Installing libpciaccess (0.16-r0) 08:22:56 (12/81) Installing libdrm (2.4.109-r0) 08:22:56 (13/81) Installing mesa-glapi (21.2.6-r0) 08:22:56 (14/81) Installing libxshmfence (1.3-r1) 08:22:56 Still waiting to schedule task 08:22:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:22:56 (15/81) Installing mesa-gl (21.2.6-r0) 08:22:56 (16/81) Installing libice (1.0.10-r0) 08:22:56 (17/81) Installing libuuid (2.37.4-r0) 08:22:57 (18/81) Installing libsm (1.2.3-r0) 08:22:57 (19/81) Installing libxt (1.2.1-r0) 08:22:57 (20/81) Installing libxmu (1.1.3-r0) 08:22:57 (21/81) Installing xset (1.2.4-r0) 08:22:57 (22/81) Installing xprop (1.2.5-r0) 08:22:57 (23/81) Installing xdg-utils (1.1.3-r0) 08:22:57 (24/81) Installing dbus-libs (1.12.20-r4) 08:22:57 (25/81) Installing libffi (3.4.2-r1) 08:22:57 (26/81) Installing libintl (0.21-r0) 08:22:57 (27/81) Installing libblkid (2.37.4-r0) 08:22:57 (28/81) Installing libmount (2.37.4-r0) 08:22:57 (29/81) Installing pcre (8.45-r1) 08:22:58 (30/81) Installing glib (2.70.1-r0) 08:22:58 (31/81) Installing icu-libs (69.1-r1) 08:22:59 (32/81) Installing libpcre2-16 (10.39-r0) 08:22:59 (33/81) Installing zstd-libs (1.5.0-r0) 08:22:59 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 08:22:59 (35/81) Installing hicolor-icon-theme (0.17-r1) 08:22:59 (36/81) Installing wayland-libs-server (1.19.0-r1) 08:22:59 (37/81) Installing mesa-gbm (21.2.6-r0) 08:22:59 (38/81) Installing wayland-libs-client (1.19.0-r1) 08:22:59 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 08:22:59 (40/81) Installing libxcomposite (0.4.5-r0) 08:23:00 (41/81) Installing libbz2 (1.0.8-r1) 08:23:00 (42/81) Installing libpng (1.6.37-r1) 08:23:00 (43/81) Installing freetype (2.11.1-r2) 08:23:00 (44/81) Installing fontconfig (2.13.1-r4) 08:23:00 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 08:23:00 (46/81) Installing wayland-libs-egl (1.19.0-r1) 08:23:00 (47/81) Installing xkeyboard-config (2.34-r0) 08:23:00 (48/81) Installing xz-libs (5.2.5-r1) 08:23:00 (49/81) Installing libxml2 (2.9.14-r0) 08:23:00 (50/81) Installing libxkbcommon (1.3.1-r0) 08:23:00 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 08:23:01 (52/81) Installing mesa-egl (21.2.6-r0) 08:23:01 (53/81) Installing avahi-libs (0.8-r5) 08:23:01 (54/81) Installing nettle (3.7.3-r0) 08:23:01 (55/81) Installing p11-kit (0.24.0-r1) 08:23:01 (56/81) Installing libtasn1 (4.18.0-r0) 08:23:01 (57/81) Installing libunistring (0.9.10-r1) 08:23:01 (58/81) Installing gnutls (3.7.1-r0) 08:23:01 (59/81) Installing cups-libs (2.3.3-r5) 08:23:01 (60/81) Installing graphite2 (1.3.14-r0) 08:23:01 (61/81) Installing harfbuzz (3.0.0-r2) 08:23:01 (62/81) Installing libevdev (1.12.0-r0) 08:23:02 (63/81) Installing mtdev (1.1.6-r0) 08:23:02 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 08:23:02 (65/81) Installing libinput-libs (1.19.4-r0) 08:23:02 (66/81) Installing libjpeg-turbo (2.1.2-r0) 08:23:02 (67/81) Installing xcb-util-wm (0.4.1-r1) 08:23:02 (68/81) Installing xcb-util (0.4.0-r3) 08:23:02 (69/81) Installing xcb-util-image (0.4.0-r1) 08:23:02 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 08:23:02 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 08:23:02 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 08:23:02 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 08:23:03 (74/81) Installing v4l-utils-libs (1.22.1-r1) 08:23:03 (75/81) Installing v4l-utils (1.22.1-r1) 08:23:03 (76/81) Installing udev-init-scripts (35-r0) 08:23:03 Executing udev-init-scripts-35-r0.post-install 08:23:03 (77/81) Installing kmod-libs (29-r2) 08:23:04 (78/81) Installing eudev (3.2.11_pre1-r0) 08:23:04 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 08:23:04 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 08:23:04 (81/81) Installing v4l-utils-dev (1.22.1-r1) 08:23:04 Executing busybox-1.34.1-r3.trigger 08:23:04 Executing eudev-3.2.11_pre1-r0.trigger 08:23:04 OK: 335 MiB in 133 packages 08:23:06 Removing intermediate container 1501db922eaa 08:23:06 ---> 875f898c915d 08:23:06 Step 8/12 : WORKDIR /device-usb-camera 08:23:06 ---> Running in fcfa22acbce2 08:23:06 Removing intermediate container fcfa22acbce2 08:23:06 ---> 3b776391dcc4 08:23:06 Step 9/12 : COPY go.mod vendor* ./ 08:23:06 ---> 141e0042865c 08:23:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:23:06 ---> Running in 60d28c3d8973 08:23:21 Removing intermediate container 60d28c3d8973 08:23:21 ---> 15bab8dc653d 08:23:21 Step 11/12 : COPY . . 08:23:21 ---> 9b0543567f45 08:23:21 Step 12/12 : RUN ${MAKE} 08:23:21 ---> Running in 52687ccdddb6 08:23:21 noop 08:23:21 Removing intermediate container 52687ccdddb6 08:23:21 ---> e7a1a752b8ea 08:23:21 Successfully built e7a1a752b8ea 08:23:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:23:21 + docker inspect -f . ci-base-image-x86_64 08:23:21 . [Pipeline] withDockerContainer 08:23:21 prd-ubuntu20.04-docker-8c-8g-64173 does not seem to be running inside a container 08:23:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:23:22 $ docker top 046fa1e53d00c2c4b89b5d0895a1c19e09764261bce0cd86d0fd07652a7da502 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:22 + go version 08:23:22 go version go1.17.6 linux/amd64 [Pipeline] } 08:23:22 $ docker stop --time=1 046fa1e53d00c2c4b89b5d0895a1c19e09764261bce0cd86d0fd07652a7da502 08:23:23 $ docker rm -f 046fa1e53d00c2c4b89b5d0895a1c19e09764261bce0cd86d0fd07652a7da502 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:23:24 + docker inspect -f . ci-base-image-x86_64 08:23:24 . [Pipeline] withDockerContainer 08:23:24 prd-ubuntu20.04-docker-8c-8g-64173 does not seem to be running inside a container 08:23:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:23:24 $ docker top ef69d26d59c7999365041e484d4494da3499f4dde2355b485b1d60988a31f9d3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:23:25 + make test 08:23:25 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 08:23:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 08:23:35 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 08:23:35 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 08:23:40 CGO_ENABLED=1 go vet ./... 08:23:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:23:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:23:44 ./bin/test-attribution-txt.sh [Pipeline] echo 08:23:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:23:44 $ docker stop --time=1 ef69d26d59c7999365041e484d4494da3499f4dde2355b485b1d60988a31f9d3 08:23:46 $ docker rm -f ef69d26d59c7999365041e484d4494da3499f4dde2355b485b1d60988a31f9d3 [Pipeline] // withDockerContainer [Pipeline] sh 08:23:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:23:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:23:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:23:47 + ls -al . 08:23:47 total 164 08:23:47 drwxrwxr-x 9 jenkins jenkins 4096 May 20 08:23 . 08:23:47 drwxrwxr-x 4 jenkins jenkins 4096 May 20 08:22 .. 08:23:47 drwxrwxr-x 8 jenkins jenkins 4096 May 20 08:22 .git 08:23:47 drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:22 .github 08:23:47 -rw-rw-r-- 1 jenkins jenkins 349 May 20 08:22 .gitignore 08:23:47 -rw-rw-r-- 1 jenkins jenkins 42 May 20 08:22 .golangci.yml 08:23:47 -rw-rw-r-- 1 jenkins jenkins 77 May 20 08:22 .hadolint.yml 08:23:47 drwxr-xr-x 3 jenkins jenkins 4096 May 20 08:22 .semver 08:23:47 -rw-rw-r-- 1 jenkins jenkins 8796 May 20 08:22 Attribution.txt 08:23:47 -rw-rw-r-- 1 jenkins jenkins 181 May 20 08:22 CHANGELOG.md 08:23:47 -rw-rw-r-- 1 jenkins jenkins 1891 May 20 08:22 Dockerfile 08:23:47 -rw-rw-r-- 1 jenkins jenkins 678 May 20 08:22 GOVERNANCE.md 08:23:47 -rw-rw-r-- 1 jenkins jenkins 659 May 20 08:22 Jenkinsfile 08:23:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 08:22 LICENSE 08:23:47 -rw-rw-r-- 1 jenkins jenkins 1641 May 20 08:22 Makefile 08:23:47 -rw-rw-r-- 1 jenkins jenkins 622 May 20 08:22 OWNERS.md 08:23:47 -rw-rw-r-- 1 jenkins jenkins 8960 May 20 08:22 README.md 08:23:47 -rw-rw-r-- 1 jenkins jenkins 5 May 20 08:22 VERSION 08:23:47 drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:22 bin 08:23:47 drwxrwxr-x 3 jenkins jenkins 4096 May 20 08:22 cmd 08:23:47 -rw-r--r-- 1 jenkins jenkins 10 May 20 08:23 coverage.out 08:23:47 drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:22 docker-compose 08:23:47 -rw-rw-r-- 1 jenkins jenkins 140 May 20 08:22 docker-entrypoint.sh 08:23:47 -rw-rw-r-- 1 jenkins jenkins 3307 May 20 08:22 go.mod 08:23:47 -rw-rw-r-- 1 jenkins jenkins 35656 May 20 08:22 go.sum 08:23:47 drwxrwxr-x 3 jenkins jenkins 4096 May 20 08:22 internal 08:23:47 -rw-rw-r-- 1 jenkins jenkins 231 May 20 08:22 version.go [Pipeline] isUnix [Pipeline] sh 08:23:47 + 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=39bf0d04bda255fe6af5bda747436c74eca6fe62 --label arch=amd64 --label version=0.0.0 . 08:23:47 Sending build context to Docker daemon 575kB 08:23:47 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 08:23:47 Step 2/29 : FROM ${BASE} AS builder 08:23:47 ---> e7a1a752b8ea 08:23:47 Step 3/29 : ARG MAKE="make build" 08:23:47 ---> Running in 0a7c891cbd55 08:23:47 Removing intermediate container 0a7c891cbd55 08:23:47 ---> 0392aabef281 08:23:47 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:23:48 ---> Running in b78d9737425a 08:23:48 Removing intermediate container b78d9737425a 08:23:48 ---> 1a71ff391a66 08:23:48 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:23:48 ---> Running in 9228b264e6bb 08:23:48 Removing intermediate container 9228b264e6bb 08:23:48 ---> 1a5f3bec3eb7 08:23:48 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:23:48 ---> Running in d6ef46260f2f 08:23:49 Removing intermediate container d6ef46260f2f 08:23:49 ---> e7d6a05ddbb2 08:23:49 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:23:49 ---> Running in f038ba7d73ea 08:23:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:23:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:23:50 OK: 335 MiB in 133 packages 08:23:50 Removing intermediate container f038ba7d73ea 08:23:50 ---> b4357932a2d2 08:23:50 Step 8/29 : WORKDIR /device-usb-camera 08:23:50 ---> Running in 1ef6758889fd 08:23:50 Removing intermediate container 1ef6758889fd 08:23:50 ---> 99d66f6074ee 08:23:50 Step 9/29 : COPY go.mod vendor* ./ 08:23:51 ---> 31429e3eb94c 08:23:51 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:23:51 ---> Running in 54b8be9ca940 08:23:51 Removing intermediate container 54b8be9ca940 08:23:51 ---> d52f44e6d8ca 08:23:51 Step 11/29 : COPY . . 08:23:52 ---> c111c34576bc 08:23:52 Step 12/29 : RUN ${MAKE} 08:23:52 ---> Running in f36219d3326e 08:23:52 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -o cmd/device-usb-camera ./cmd 08:24:04 Removing intermediate container f36219d3326e 08:24:04 ---> 467f3270bc21 08:24:04 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 08:24:04 v0.18.4: Pulling from aler9/rtsp-simple-server 08:24:04 af6660deedbd: Pulling fs layer 08:24:04 97cd0a44c592: Pulling fs layer 08:24:04 97cd0a44c592: Verifying Checksum 08:24:04 97cd0a44c592: Download complete 08:24:05 af6660deedbd: Download complete 08:24:05 af6660deedbd: Pull complete 08:24:05 97cd0a44c592: Pull complete 08:24:05 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 08:24:05 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 08:24:05 ---> fea57e182299 08:24:05 Step 14/29 : FROM alpine:3.15 08:24:05 3.15: Pulling from library/alpine 08:24:05 df9b9388f04a: Pulling fs layer 08:24:06 df9b9388f04a: Verifying Checksum 08:24:06 df9b9388f04a: Pull complete 08:24:06 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:24:06 Status: Downloaded newer image for alpine:3.15 08:24:06 ---> 0ac33e5f5afa 08:24:06 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:24:06 ---> Running in e2a758ac2af9 08:24:06 Removing intermediate container e2a758ac2af9 08:24:06 ---> 4dad17b20b62 08:24:06 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 08:24:06 ---> Running in eca45cc3cff6 08:24:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:24:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:24:07 (1/74) Installing dumb-init (1.2.5-r1) 08:24:07 (2/74) Installing sdl2 (2.0.16-r4) 08:24:07 (3/74) Installing libxau (1.0.9-r0) 08:24:07 (4/74) Installing libmd (1.0.3-r0) 08:24:07 (5/74) Installing libbsd (0.11.3-r1) 08:24:07 (6/74) Installing libxdmcp (1.1.3-r0) 08:24:07 (7/74) Installing libxcb (1.14-r2) 08:24:07 (8/74) Installing libx11 (1.7.2-r0) 08:24:07 (9/74) Installing aom-libs (3.2.0-r0) 08:24:07 (10/74) Installing alsa-lib (1.2.5.1-r1) 08:24:07 (11/74) Installing expat (2.4.7-r0) 08:24:07 (12/74) Installing brotli-libs (1.0.9-r5) 08:24:07 (13/74) Installing libbz2 (1.0.8-r1) 08:24:07 (14/74) Installing libpng (1.6.37-r1) 08:24:07 (15/74) Installing freetype (2.11.1-r2) 08:24:07 (16/74) Installing libuuid (2.37.4-r0) 08:24:07 (17/74) Installing fontconfig (2.13.1-r4) 08:24:07 (18/74) Installing fribidi (1.0.11-r0) 08:24:07 (19/74) Installing libffi (3.4.2-r1) 08:24:07 (20/74) Installing libintl (0.21-r0) 08:24:07 (21/74) Installing libblkid (2.37.4-r0) 08:24:07 (22/74) Installing libmount (2.37.4-r0) 08:24:07 (23/74) Installing pcre (8.45-r1) 08:24:07 (24/74) Installing glib (2.70.1-r0) 08:24:07 (25/74) Installing graphite2 (1.3.14-r0) 08:24:07 (26/74) Installing harfbuzz (3.0.0-r2) 08:24:07 (27/74) Installing libass (0.15.2-r0) 08:24:07 (28/74) Installing libdav1d (0.9.2-r0) 08:24:07 (29/74) Installing gmp (6.2.1-r1) 08:24:07 (30/74) Installing nettle (3.7.3-r0) 08:24:07 (31/74) Installing p11-kit (0.24.0-r1) 08:24:07 (32/74) Installing libtasn1 (4.18.0-r0) 08:24:07 (33/74) Installing libunistring (0.9.10-r1) 08:24:07 (34/74) Installing gnutls (3.7.1-r0) 08:24:07 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 08:24:07 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 08:24:07 (37/74) Installing lame (3.100-r0) 08:24:07 (38/74) Installing opus (1.3.1-r1) 08:24:07 (39/74) Installing libgomp (10.3.1_git20211027-r0) 08:24:07 (40/74) Installing soxr (0.1.3-r2) 08:24:07 (41/74) Installing libgcc (10.3.1_git20211027-r0) 08:24:07 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 08:24:07 (43/74) Installing libsrt (1.4.2-r1) 08:24:07 (44/74) Installing libssh (0.9.6-r1) 08:24:07 (45/74) Installing libogg (1.3.5-r0) 08:24:07 (46/74) Installing libtheora (1.1.1-r16) 08:24:07 (47/74) Installing libjpeg-turbo (2.1.2-r0) 08:24:07 (48/74) Installing v4l-utils-libs (1.22.1-r1) 08:24:07 (49/74) Installing libxext (1.3.4-r0) 08:24:07 (50/74) Installing libxfixes (6.0.0-r0) 08:24:07 (51/74) Installing libpciaccess (0.16-r0) 08:24:07 (52/74) Installing libdrm (2.4.109-r0) 08:24:07 (53/74) Installing wayland-libs-client (1.19.0-r1) 08:24:07 (54/74) Installing libva (2.13.0-r0) 08:24:07 (55/74) Installing libvdpau (1.4-r0) 08:24:07 (56/74) Installing vidstab (1.1.0-r1) 08:24:07 (57/74) Installing libvorbis (1.3.7-r0) 08:24:07 (58/74) Installing libvpx (1.10.0-r0) 08:24:07 (59/74) Installing vulkan-loader (1.2.196-r0) 08:24:07 (60/74) Installing libwebp (1.2.2-r0) 08:24:07 (61/74) Installing x264-libs (20210613-r0) 08:24:07 (62/74) Installing x265-libs (3.5-r0) 08:24:07 (63/74) Installing xvidcore (1.3.7-r1) 08:24:07 (64/74) Installing ffmpeg-libs (4.4.1-r2) 08:24:07 (65/74) Installing ffmpeg (4.4.1-r2) 08:24:07 (66/74) Installing udev-init-scripts (35-r0) 08:24:07 Executing udev-init-scripts-35-r0.post-install 08:24:07 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 08:24:07 (68/74) Installing xz-libs (5.2.5-r1) 08:24:07 (69/74) Installing zstd-libs (1.5.0-r0) 08:24:07 (70/74) Installing kmod-libs (29-r2) 08:24:07 (71/74) Installing eudev (3.2.11_pre1-r0) 08:24:07 (72/74) Installing libsodium (1.0.18-r0) 08:24:07 (73/74) Installing libzmq (4.3.4-r0) 08:24:07 (74/74) Installing zeromq (4.3.4-r0) 08:24:07 Executing busybox-1.34.1-r5.trigger 08:24:07 Executing eudev-3.2.11_pre1-r0.trigger 08:24:07 OK: 78 MiB in 88 packages 08:24:09 Removing intermediate container eca45cc3cff6 08:24:09 ---> dfe9bc665cd6 08:24:09 Step 17/29 : WORKDIR / 08:24:09 ---> Running in 4bc121361154 08:24:09 Removing intermediate container 4bc121361154 08:24:09 ---> ebcb98034ce7 08:24:09 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 08:24:09 ---> 5436ac24554e 08:24:09 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 08:24:09 ---> 2b8de309e191 08:24:09 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 08:24:09 ---> 0b88ba7d3170 08:24:09 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 08:24:10 ---> 9eda240b4bc3 08:24:10 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 08:24:10 ---> abf66b108f30 08:24:10 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 08:24:10 ---> 95f720c11ef1 08:24:10 Step 24/29 : EXPOSE 59983 08:24:10 ---> Running in e48db2f4d3e8 08:24:10 Removing intermediate container e48db2f4d3e8 08:24:10 ---> d5bac6a9074e 08:24:10 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 08:24:10 ---> Running in a04a74f23f41 08:24:10 Removing intermediate container a04a74f23f41 08:24:10 ---> 88438d995975 08:24:10 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 08:24:10 ---> Running in d77e1fdad54a 08:24:11 Removing intermediate container d77e1fdad54a 08:24:11 ---> 7348e6c96612 08:24:11 Step 27/29 : LABEL arch=amd64 08:24:11 ---> Running in 46a53befdf46 08:24:11 Removing intermediate container 46a53befdf46 08:24:11 ---> 82c831b88399 08:24:11 Step 28/29 : LABEL git_sha=39bf0d04bda255fe6af5bda747436c74eca6fe62 08:24:11 ---> Running in f25ddd94007d 08:24:11 Removing intermediate container f25ddd94007d 08:24:11 ---> a53343a03df2 08:24:11 Step 29/29 : LABEL version=0.0.0 08:24:11 ---> Running in 38c27d9917fd 08:24:11 Removing intermediate container 38c27d9917fd 08:24:11 ---> 89715e18bc3e 08:24:11 [Warning] One or more build-args [ARCH] were not consumed 08:24:11 Successfully built 89715e18bc3e 08:24:11 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:24:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:11 08:24:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:24:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:12 latest: Pulling from edgex-lftools-log-publisher 08:24:12 5eb5b503b376: Pulling fs layer 08:24:12 5c69ac0246d0: Pulling fs layer 08:24:12 ec43610c2a17: Pulling fs layer 08:24:12 3a2ae6a8a46f: Pulling fs layer 08:24:12 33b1e0a273af: Pulling fs layer 08:24:12 5d3b04190fa2: Pulling fs layer 08:24:12 2f39f015ded8: Pulling fs layer 08:24:12 3a2ae6a8a46f: Waiting 08:24:12 33b1e0a273af: Waiting 08:24:12 5c69ac0246d0: Verifying Checksum 08:24:12 5c69ac0246d0: Download complete 08:24:12 3a2ae6a8a46f: Verifying Checksum 08:24:12 3a2ae6a8a46f: Download complete 08:24:12 33b1e0a273af: Verifying Checksum 08:24:12 33b1e0a273af: Download complete 08:24:12 ec43610c2a17: Verifying Checksum 08:24:12 ec43610c2a17: Download complete 08:24:12 5d3b04190fa2: Verifying Checksum 08:24:12 5d3b04190fa2: Download complete 08:24:12 5eb5b503b376: Verifying Checksum 08:24:12 5eb5b503b376: Download complete 08:24:13 2f39f015ded8: Download complete 08:24:13 5eb5b503b376: Pull complete 08:24:13 5c69ac0246d0: Pull complete 08:24:14 ec43610c2a17: Pull complete 08:24:14 3a2ae6a8a46f: Pull complete 08:24:14 33b1e0a273af: Pull complete 08:24:14 5d3b04190fa2: Pull complete 08:24:18 2f39f015ded8: Pull complete 08:24:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:24:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:24:18 prd-ubuntu20.04-docker-8c-8g-64173 does not seem to be running inside a container 08:24:18 $ 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-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:24:20 $ docker top 037128e599665cca6d027741cb5cd12a73bf7c1e7dd874a4aff20e65597d3f6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:21 ---> job-cost.sh 08:24:21 lf-activate-venv: SKIPPING 08:24:21 INFO: No Stack... 08:24:21 INFO: Retrieving Pricing Info for: v3-standard-8 08:24:21 INFO: Archiving Costs [Pipeline] sh 08:24:22 + cat /w/workspace/xfoundry_device-usb-camera_PR-27/archives/cost.csv 08:24:22 + cut -d, -f6 [Pipeline] lock 08:24:22 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-27-3-stack-cost] 08:24:22 Resource [jenkins-edgexfoundry-device-usb-camera-PR-27-3-stack-cost] did not exist. Created. 08:24:22 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-27-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:24:22 + echo total: 0.2199999988079071 [Pipeline] stash 08:24:22 Stashed 1 file(s) [Pipeline] } 08:24:22 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-27-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:24:22 $ docker stop --time=1 037128e599665cca6d027741cb5cd12a73bf7c1e7dd874a4aff20e65597d3f6d 08:24:23 $ docker rm -f 037128e599665cca6d027741cb5cd12a73bf7c1e7dd874a4aff20e65597d3f6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:24:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64174 in /w/workspace/xfoundry_device-usb-camera_PR-27 [Pipeline] { [Pipeline] ws 08:24:29 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 08:24:30 Selected Git installation does not exist. Using Default 08:24:30 The recommended git tool is: NONE 08:24:36 using credential edgex-jenkins-ssh 08:24:36 Cloning the remote Git repository 08:24:36 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 08:24:36 > git init /w/workspace/device-usb-camera/3 # timeout=10 08:24:36 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 08:24:36 > git --version # timeout=10 08:24:36 > git --version # 'git version 2.25.1' 08:24:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:24:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:24:37 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 08:24:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:24:37 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 08:24:37 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 08:24:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:24:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:24:37 Merging remotes/origin/main commit 64a0158ebb7ef051a7494343a06668853522f3e5 into PR head commit ae23d33e49d4e732ed09d52c67cd5d0193042c30 08:24:38 Merge succeeded, producing 23eff06e575cf2ce7fc8b37c0223f86d252b464b 08:24:38 Checking out Revision 23eff06e575cf2ce7fc8b37c0223f86d252b464b (PR-27) 08:24:37 > git config core.sparsecheckout # timeout=10 08:24:37 > git checkout -f ae23d33e49d4e732ed09d52c67cd5d0193042c30 # timeout=10 08:24:38 > git remote # timeout=10 08:24:38 > git config --get remote.origin.url # timeout=10 08:24:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:24:38 > git merge 64a0158ebb7ef051a7494343a06668853522f3e5 # timeout=10 08:24:38 > git rev-parse HEAD^{commit} # timeout=10 08:24:38 > git config core.sparsecheckout # timeout=10 08:24:38 > git checkout -f 23eff06e575cf2ce7fc8b37c0223f86d252b464b # timeout=10 08:24:42 Commit message: "Merge commit '64a0158ebb7ef051a7494343a06668853522f3e5' into HEAD" 08:24:42 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:24:43 % Total % Received % Xferd Average Speed Time Time Time Current 08:24:43 Dload Upload Total Spent Left Speed 08:24:42 > git rev-list --no-walk c9c9139f78799d6580d2592f90bd4161b900c8f4 # timeout=10 08:24:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 23838 0 --:--:-- --:--:-- --:--:-- 23838 [Pipeline] sh 08:24:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:24:44 + sudo tee /etc/docker/daemon.new 08:24:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:24:44 { 08:24:44 "registry-mirrors": [ 08:24:44 "https://nexus3.edgexfoundry.org:10001" 08:24:44 ], 08:24:44 "bip": "10.250.0.254/24", 08:24:44 "hosts": [ 08:24:44 "tcp://0.0.0.0:5555", 08:24:44 "unix:///var/run/docker.sock" 08:24:44 ], 08:24:44 "mtu": 1458, 08:24:44 "selinux-enabled": true, 08:24:44 "seccomp-profile": "/etc/docker/seccomp.json" 08:24:44 } [Pipeline] sh 08:24:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:24:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:25:03 provisioning config files... 08:25:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config1301974528416204786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:04 ---> docker-login.sh 08:25:04 nexus3.edgexfoundry.org:10001 08:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:04 Configure a credential helper to remove this warning. See 08:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:04 08:25:04 Login Succeeded 08:25:04 nexus3.edgexfoundry.org:10002 08:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:05 Configure a credential helper to remove this warning. See 08:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:05 08:25:05 Login Succeeded 08:25:05 nexus3.edgexfoundry.org:10003 08:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:05 Configure a credential helper to remove this warning. See 08:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:05 08:25:05 Login Succeeded 08:25:05 nexus3.edgexfoundry.org:10004 08:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:06 Configure a credential helper to remove this warning. See 08:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:06 08:25:06 Login Succeeded 08:25:06 docker.io 08:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:06 Configure a credential helper to remove this warning. See 08:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:06 08:25:06 Login Succeeded 08:25:06 ---> docker-login.sh ends [Pipeline] } 08:25:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:25:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:25:07 ========================================================= 08:25:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:25:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:25:07 + 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 . 08:25:07 Sending build context to Docker daemon 401.4kB 08:25:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:25:07 Step 2/12 : FROM ${BASE} AS builder 08:25:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:25:08 9b3977197b4f: Pulling fs layer 08:25:08 1a89e8eeedd5: Pulling fs layer 08:25:08 94645a83ff95: Pulling fs layer 08:25:08 3f3a8bcf1eab: Pulling fs layer 08:25:08 0c92f367c5e7: Pulling fs layer 08:25:08 3096ccb668a1: Pulling fs layer 08:25:08 e8cf19c19ddd: Pulling fs layer 08:25:08 a4caa8a26152: Pulling fs layer 08:25:08 3f3a8bcf1eab: Waiting 08:25:08 0c92f367c5e7: Waiting 08:25:08 3096ccb668a1: Waiting 08:25:08 e8cf19c19ddd: Waiting 08:25:08 a4caa8a26152: Waiting 08:25:08 94645a83ff95: Verifying Checksum 08:25:08 94645a83ff95: Download complete 08:25:08 1a89e8eeedd5: Download complete 08:25:08 0c92f367c5e7: Verifying Checksum 08:25:08 0c92f367c5e7: Download complete 08:25:08 3096ccb668a1: Verifying Checksum 08:25:08 3096ccb668a1: Download complete 08:25:08 9b3977197b4f: Verifying Checksum 08:25:08 9b3977197b4f: Download complete 08:25:08 e8cf19c19ddd: Verifying Checksum 08:25:08 e8cf19c19ddd: Download complete 08:25:09 9b3977197b4f: Pull complete 08:25:09 1a89e8eeedd5: Pull complete 08:25:09 94645a83ff95: Pull complete 08:25:10 a4caa8a26152: Download complete 08:25:11 3f3a8bcf1eab: Verifying Checksum 08:25:11 3f3a8bcf1eab: Download complete 08:25:23 3f3a8bcf1eab: Pull complete 08:25:23 0c92f367c5e7: Pull complete 08:25:23 3096ccb668a1: Pull complete 08:25:23 e8cf19c19ddd: Pull complete 08:25:30 a4caa8a26152: Pull complete 08:25:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:25:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:25:30 ---> 725f1c02e7f9 08:25:30 Step 3/12 : ARG MAKE="make build" 08:25:30 ---> Running in 09088c245bac 08:25:30 Removing intermediate container 09088c245bac 08:25:30 ---> 4db2e18dd0da 08:25:30 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:25:30 ---> Running in 73617c6ded12 08:25:31 Removing intermediate container 73617c6ded12 08:25:31 ---> 20efa70e2698 08:25:31 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:25:31 ---> Running in 7f3355ff08d8 08:25:31 Removing intermediate container 7f3355ff08d8 08:25:31 ---> 92b0ab986cdb 08:25:31 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:25:31 ---> Running in 9a7806321b78 08:25:33 Removing intermediate container 9a7806321b78 08:25:33 ---> de2f84b54f1a 08:25:33 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:25:33 ---> Running in 7892ffacde17 08:25:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:25:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:25:36 (1/14) Installing libintl (0.21-r0) 08:25:36 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 08:25:36 (3/14) Installing libjpeg-turbo (2.1.2-r0) 08:25:36 (4/14) Installing v4l-utils-libs (1.22.1-r1) 08:25:36 (5/14) Installing v4l-utils (1.22.1-r1) 08:25:36 (6/14) Installing udev-init-scripts (35-r0) 08:25:36 Executing udev-init-scripts-35-r0.post-install 08:25:37 (7/14) Installing libblkid (2.37.4-r0) 08:25:37 (8/14) Installing xz-libs (5.2.5-r1) 08:25:37 (9/14) Installing zstd-libs (1.5.0-r0) 08:25:37 (10/14) Installing kmod-libs (29-r2) 08:25:37 (11/14) Installing eudev (3.2.11_pre1-r0) 08:25:37 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 08:25:37 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 08:25:37 (14/14) Installing v4l-utils-dev (1.22.1-r1) 08:25:38 Executing busybox-1.34.1-r3.trigger 08:25:38 Executing eudev-3.2.11_pre1-r0.trigger 08:25:38 OK: 227 MiB in 66 packages 08:25:38 Removing intermediate container 7892ffacde17 08:25:38 ---> ef58b848fcec 08:25:38 Step 8/12 : WORKDIR /device-usb-camera 08:25:39 ---> Running in ad58d9d4d308 08:25:39 Removing intermediate container ad58d9d4d308 08:25:39 ---> 97009ef5a5e6 08:25:39 Step 9/12 : COPY go.mod vendor* ./ 08:25:40 ---> 29d47580fe62 08:25:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:25:40 ---> Running in 616ccfef1bec 08:26:36 Removing intermediate container 616ccfef1bec 08:26:36 ---> 2980fca4047c 08:26:36 Step 11/12 : COPY . . 08:26:36 ---> cf4b6f4d9655 08:26:36 Step 12/12 : RUN ${MAKE} 08:26:36 ---> Running in 61d672c61421 08:26:36 noop 08:26:36 Removing intermediate container 61d672c61421 08:26:36 ---> 0547b6275ccd 08:26:36 Successfully built 0547b6275ccd 08:26:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:26:37 + docker inspect -f . ci-base-image-arm64 08:26:37 . [Pipeline] withDockerContainer 08:26:37 prd-ubuntu20.04-docker-arm64-4c-16g-64174 does not seem to be running inside a container 08:26:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:26:38 $ docker top 563fe5c533afce62d875679af2dd1a01c253af704934579964b0a55df8c825c6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:39 + go version 08:26:39 go version go1.17.6 linux/arm64 [Pipeline] } 08:26:39 $ docker stop --time=1 563fe5c533afce62d875679af2dd1a01c253af704934579964b0a55df8c825c6 08:26:41 $ docker rm -f 563fe5c533afce62d875679af2dd1a01c253af704934579964b0a55df8c825c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:26:42 + docker inspect -f . ci-base-image-arm64 08:26:42 . [Pipeline] withDockerContainer 08:26:42 prd-ubuntu20.04-docker-arm64-4c-16g-64174 does not seem to be running inside a container 08:26:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:26:43 $ docker top 8ff13b2102ee69d5c89f720e01f80a7f47ba547f1b425152257003f448688cf5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:26:44 + make test 08:26:44 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 08:26:46 ? github.com/edgexfoundry/device-usb-camera [no test files] 08:28:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 08:28:08 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 08:28:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:28:08 CGO_ENABLED=1 go vet ./... 08:28:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:28:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:28:30 ./bin/test-attribution-txt.sh [Pipeline] echo 08:28:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:28:30 $ docker stop --time=1 8ff13b2102ee69d5c89f720e01f80a7f47ba547f1b425152257003f448688cf5 08:28:32 $ docker rm -f 8ff13b2102ee69d5c89f720e01f80a7f47ba547f1b425152257003f448688cf5 [Pipeline] // withDockerContainer [Pipeline] sh 08:28:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:28:33 Warning: overwriting stash ‘coverage-report’ 08:28:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:28:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:28:34 + ls -al . 08:28:34 total 160 08:28:34 drwxrwxr-x 8 jenkins jenkins 4096 May 20 08:28 . 08:28:34 drwxrwxr-x 4 jenkins jenkins 4096 May 20 08:24 .. 08:28:34 drwxrwxr-x 8 jenkins jenkins 4096 May 20 08:24 .git 08:28:34 drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:24 .github 08:28:34 -rw-rw-r-- 1 jenkins jenkins 349 May 20 08:24 .gitignore 08:28:34 -rw-rw-r-- 1 jenkins jenkins 42 May 20 08:24 .golangci.yml 08:28:34 -rw-rw-r-- 1 jenkins jenkins 77 May 20 08:24 .hadolint.yml 08:28:34 -rw-rw-r-- 1 jenkins jenkins 8796 May 20 08:24 Attribution.txt 08:28:34 -rw-rw-r-- 1 jenkins jenkins 181 May 20 08:24 CHANGELOG.md 08:28:34 -rw-rw-r-- 1 jenkins jenkins 1891 May 20 08:24 Dockerfile 08:28:34 -rw-rw-r-- 1 jenkins jenkins 678 May 20 08:24 GOVERNANCE.md 08:28:34 -rw-rw-r-- 1 jenkins jenkins 659 May 20 08:24 Jenkinsfile 08:28:34 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 08:24 LICENSE 08:28:34 -rw-rw-r-- 1 jenkins jenkins 1641 May 20 08:24 Makefile 08:28:34 -rw-rw-r-- 1 jenkins jenkins 622 May 20 08:24 OWNERS.md 08:28:34 -rw-rw-r-- 1 jenkins jenkins 8960 May 20 08:24 README.md 08:28:34 -rw-rw-r-- 1 jenkins jenkins 5 May 20 08:22 VERSION 08:28:34 drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:24 bin 08:28:34 drwxrwxr-x 3 jenkins jenkins 4096 May 20 08:24 cmd 08:28:34 -rw-r--r-- 1 jenkins jenkins 10 May 20 08:26 coverage.out 08:28:34 drwxrwxr-x 2 jenkins jenkins 4096 May 20 08:24 docker-compose 08:28:34 -rw-rw-r-- 1 jenkins jenkins 140 May 20 08:24 docker-entrypoint.sh 08:28:34 -rw-rw-r-- 1 jenkins jenkins 3307 May 20 08:24 go.mod 08:28:34 -rw-rw-r-- 1 jenkins jenkins 35656 May 20 08:24 go.sum 08:28:34 drwxrwxr-x 3 jenkins jenkins 4096 May 20 08:24 internal 08:28:34 -rw-rw-r-- 1 jenkins jenkins 231 May 20 08:24 version.go [Pipeline] isUnix [Pipeline] sh 08:28:35 + 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=23eff06e575cf2ce7fc8b37c0223f86d252b464b --label arch=arm64 --label version=0.0.0 . 08:28:35 Sending build context to Docker daemon 402.4kB 08:28:35 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 08:28:35 Step 2/29 : FROM ${BASE} AS builder 08:28:35 ---> 0547b6275ccd 08:28:35 Step 3/29 : ARG MAKE="make build" 08:28:35 ---> Running in 37e1681dcf3d 08:28:35 Removing intermediate container 37e1681dcf3d 08:28:35 ---> 34594af24c0a 08:28:35 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:28:35 ---> Running in 2bf946f869cb 08:28:36 Removing intermediate container 2bf946f869cb 08:28:36 ---> c6fb11f95515 08:28:36 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:28:36 ---> Running in aefa02eb3de0 08:28:36 Removing intermediate container aefa02eb3de0 08:28:36 ---> 60fc4e7918a3 08:28:36 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:28:36 ---> Running in d732fa2ff6c8 08:28:38 Removing intermediate container d732fa2ff6c8 08:28:38 ---> 35f28a2a1005 08:28:38 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:28:38 ---> Running in 1f3226472dd8 08:28:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:28:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:28:41 OK: 227 MiB in 66 packages 08:28:42 Removing intermediate container 1f3226472dd8 08:28:42 ---> bf71768d970d 08:28:42 Step 8/29 : WORKDIR /device-usb-camera 08:28:42 ---> Running in 7556f7778de7 08:28:42 Removing intermediate container 7556f7778de7 08:28:42 ---> a9a5d2359c8d 08:28:42 Step 9/29 : COPY go.mod vendor* ./ 08:28:42 ---> 1098289ea621 08:28:42 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:28:42 ---> Running in 1cd27b61f4bf 08:28:44 Removing intermediate container 1cd27b61f4bf 08:28:44 ---> b81ed050bec0 08:28:44 Step 11/29 : COPY . . 08:28:45 ---> eaf19ae238b1 08:28:45 Step 12/29 : RUN ${MAKE} 08:28:45 ---> Running in edd033bc8b0f 08:28:46 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -o cmd/device-usb-camera ./cmd 08:30:10 Removing intermediate container edd033bc8b0f 08:30:10 ---> 52e5b9d97d5d 08:30:10 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 08:30:10 v0.18.4: Pulling from aler9/rtsp-simple-server 08:30:10 eab2503cf8f4: Pulling fs layer 08:30:10 97cd0a44c592: Pulling fs layer 08:30:10 97cd0a44c592: Verifying Checksum 08:30:10 97cd0a44c592: Download complete 08:30:10 eab2503cf8f4: Verifying Checksum 08:30:10 eab2503cf8f4: Download complete 08:30:10 eab2503cf8f4: Pull complete 08:30:10 97cd0a44c592: Pull complete 08:30:10 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 08:30:10 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 08:30:10 ---> 7f763cca56b3 08:30:10 Step 14/29 : FROM alpine:3.15 08:30:10 3.15: Pulling from library/alpine 08:30:10 9981e73032c8: Pulling fs layer 08:30:10 9981e73032c8: Download complete 08:30:10 9981e73032c8: Pull complete 08:30:10 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:30:10 Status: Downloaded newer image for alpine:3.15 08:30:10 ---> 3fb3c9af89a9 08:30:10 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:30:10 ---> Running in 0676c21ae7f5 08:30:10 Removing intermediate container 0676c21ae7f5 08:30:10 ---> f5f80da36e23 08:30:10 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 08:30:10 ---> Running in 0abcdec85456 08:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:30:10 (1/73) Installing dumb-init (1.2.5-r1) 08:30:10 (2/73) Installing sdl2 (2.0.16-r4) 08:30:10 (3/73) Installing libxau (1.0.9-r0) 08:30:10 (4/73) Installing libmd (1.0.3-r0) 08:30:10 (5/73) Installing libbsd (0.11.3-r1) 08:30:10 (6/73) Installing libxdmcp (1.1.3-r0) 08:30:10 (7/73) Installing libxcb (1.14-r2) 08:30:10 (8/73) Installing libx11 (1.7.2-r0) 08:30:10 (9/73) Installing aom-libs (3.2.0-r0) 08:30:10 (10/73) Installing alsa-lib (1.2.5.1-r1) 08:30:10 (11/73) Installing expat (2.4.7-r0) 08:30:10 (12/73) Installing brotli-libs (1.0.9-r5) 08:30:10 (13/73) Installing libbz2 (1.0.8-r1) 08:30:10 (14/73) Installing libpng (1.6.37-r1) 08:30:10 (15/73) Installing freetype (2.11.1-r2) 08:30:10 (16/73) Installing libuuid (2.37.4-r0) 08:30:10 (17/73) Installing fontconfig (2.13.1-r4) 08:30:10 (18/73) Installing fribidi (1.0.11-r0) 08:30:10 (19/73) Installing libffi (3.4.2-r1) 08:30:10 (20/73) Installing libintl (0.21-r0) 08:30:10 (21/73) Installing libblkid (2.37.4-r0) 08:30:10 (22/73) Installing libmount (2.37.4-r0) 08:30:10 (23/73) Installing pcre (8.45-r1) 08:30:10 (24/73) Installing glib (2.70.1-r0) 08:30:10 (25/73) Installing graphite2 (1.3.14-r0) 08:30:10 (26/73) Installing harfbuzz (3.0.0-r2) 08:30:10 (27/73) Installing libass (0.15.2-r0) 08:30:10 (28/73) Installing libdav1d (0.9.2-r0) 08:30:10 (29/73) Installing gmp (6.2.1-r1) 08:30:10 (30/73) Installing nettle (3.7.3-r0) 08:30:10 (31/73) Installing p11-kit (0.24.0-r1) 08:30:10 (32/73) Installing libtasn1 (4.18.0-r0) 08:30:10 (33/73) Installing libunistring (0.9.10-r1) 08:30:10 (34/73) Installing gnutls (3.7.1-r0) 08:30:10 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 08:30:10 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 08:30:10 (37/73) Installing lame (3.100-r0) 08:30:10 (38/73) Installing opus (1.3.1-r1) 08:30:10 (39/73) Installing libgomp (10.3.1_git20211027-r0) 08:30:10 (40/73) Installing soxr (0.1.3-r2) 08:30:10 (41/73) Installing libgcc (10.3.1_git20211027-r0) 08:30:10 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 08:30:10 (43/73) Installing libsrt (1.4.2-r1) 08:30:10 (44/73) Installing libssh (0.9.6-r1) 08:30:10 (45/73) Installing libogg (1.3.5-r0) 08:30:10 (46/73) Installing libtheora (1.1.1-r16) 08:30:10 (47/73) Installing libjpeg-turbo (2.1.2-r0) 08:30:10 (48/73) Installing v4l-utils-libs (1.22.1-r1) 08:30:10 (49/73) Installing libxext (1.3.4-r0) 08:30:10 (50/73) Installing libxfixes (6.0.0-r0) 08:30:10 (51/73) Installing libdrm (2.4.109-r0) 08:30:10 (52/73) Installing wayland-libs-client (1.19.0-r1) 08:30:10 (53/73) Installing libva (2.13.0-r0) 08:30:10 (54/73) Installing libvdpau (1.4-r0) 08:30:10 (55/73) Installing vidstab (1.1.0-r1) 08:30:10 (56/73) Installing libvorbis (1.3.7-r0) 08:30:10 (57/73) Installing libvpx (1.10.0-r0) 08:30:10 (58/73) Installing vulkan-loader (1.2.196-r0) 08:30:10 (59/73) Installing libwebp (1.2.2-r0) 08:30:10 (60/73) Installing x264-libs (20210613-r0) 08:30:10 (61/73) Installing x265-libs (3.5-r0) 08:30:10 (62/73) Installing xvidcore (1.3.7-r1) 08:30:10 (63/73) Installing ffmpeg-libs (4.4.1-r2) 08:30:10 (64/73) Installing ffmpeg (4.4.1-r2) 08:30:10 (65/73) Installing udev-init-scripts (35-r0) 08:30:10 Executing udev-init-scripts-35-r0.post-install 08:30:10 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 08:30:10 (67/73) Installing xz-libs (5.2.5-r1) 08:30:10 (68/73) Installing zstd-libs (1.5.0-r0) 08:30:10 (69/73) Installing kmod-libs (29-r2) 08:30:10 (70/73) Installing eudev (3.2.11_pre1-r0) 08:30:10 (71/73) Installing libsodium (1.0.18-r0) 08:30:10 (72/73) Installing libzmq (4.3.4-r0) 08:30:10 (73/73) Installing zeromq (4.3.4-r0) 08:30:10 Executing busybox-1.34.1-r5.trigger 08:30:10 Executing eudev-3.2.11_pre1-r0.trigger 08:30:10 OK: 67 MiB in 87 packages 08:30:11 Removing intermediate container 0abcdec85456 08:30:11 ---> 00469de53339 08:30:11 Step 17/29 : WORKDIR / 08:30:11 ---> Running in 072496c9697c 08:30:11 Removing intermediate container 072496c9697c 08:30:11 ---> aa498e83e271 08:30:11 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 08:30:13 ---> 36ff5bf8798e 08:30:13 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 08:30:13 ---> 5335a14b5cb0 08:30:13 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 08:30:14 ---> f49abfbc7862 08:30:14 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 08:30:14 ---> 6d4df1a6a399 08:30:14 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 08:30:14 ---> 63461b1d7db8 08:30:14 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 08:30:15 ---> 4f7be5d36e70 08:30:15 Step 24/29 : EXPOSE 59983 08:30:16 ---> Running in 7182e2956fd6 08:30:16 Removing intermediate container 7182e2956fd6 08:30:16 ---> c01dc63bd6e6 08:30:16 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 08:30:16 ---> Running in 57d37b4bf0c1 08:30:16 Removing intermediate container 57d37b4bf0c1 08:30:16 ---> 5b47daef403d 08:30:16 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 08:30:16 ---> Running in b36351a57db5 08:30:17 Removing intermediate container b36351a57db5 08:30:17 ---> 38a3e3880620 08:30:17 Step 27/29 : LABEL arch=arm64 08:30:17 ---> Running in f213c5291272 08:30:17 Removing intermediate container f213c5291272 08:30:17 ---> 78b0f89bcb5e 08:30:17 Step 28/29 : LABEL git_sha=23eff06e575cf2ce7fc8b37c0223f86d252b464b 08:30:17 ---> Running in 915cbeaaa7a0 08:30:17 Removing intermediate container 915cbeaaa7a0 08:30:17 ---> d77849d40a85 08:30:17 Step 29/29 : LABEL version=0.0.0 08:30:17 ---> Running in 21c322afb83b 08:30:18 Removing intermediate container 21c322afb83b 08:30:18 ---> c0f80027cf59 08:30:18 [Warning] One or more build-args [ARCH] were not consumed 08:30:18 Successfully built c0f80027cf59 08:30:18 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:30:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:30:18 08:30:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:30:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:30:19 arm64: Pulling from edgex-lftools-log-publisher 08:30:19 8998bd30e6a1: Pulling fs layer 08:30:19 04944245beec: Pulling fs layer 08:30:19 699f458cf7ca: Pulling fs layer 08:30:19 765212b225bb: Pulling fs layer 08:30:19 f23df028b6ca: Pulling fs layer 08:30:19 d65c8cfc05b1: Pulling fs layer 08:30:19 2437ff75d9bd: Pulling fs layer 08:30:19 d65c8cfc05b1: Waiting 08:30:19 2437ff75d9bd: Waiting 08:30:19 765212b225bb: Waiting 08:30:19 f23df028b6ca: Waiting 08:30:19 04944245beec: Verifying Checksum 08:30:19 04944245beec: Download complete 08:30:19 765212b225bb: Download complete 08:30:19 f23df028b6ca: Verifying Checksum 08:30:19 f23df028b6ca: Download complete 08:30:19 d65c8cfc05b1: Verifying Checksum 08:30:19 d65c8cfc05b1: Download complete 08:30:19 699f458cf7ca: Verifying Checksum 08:30:19 699f458cf7ca: Download complete 08:30:19 8998bd30e6a1: Verifying Checksum 08:30:19 8998bd30e6a1: Download complete 08:30:22 2437ff75d9bd: Verifying Checksum 08:30:22 2437ff75d9bd: Download complete 08:30:23 8998bd30e6a1: Pull complete 08:30:24 04944245beec: Pull complete 08:30:25 699f458cf7ca: Pull complete 08:30:26 765212b225bb: Pull complete 08:30:27 f23df028b6ca: Pull complete 08:30:27 d65c8cfc05b1: Pull complete 08:30:42 2437ff75d9bd: Pull complete 08:30:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:30:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:30:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:30:42 prd-ubuntu20.04-docker-arm64-4c-16g-64174 does not seem to be running inside a container 08:30:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:30:45 $ docker top 7ff6b3787e444a75624e5b5ec315992e2e5d1a4198df14718f1d3765a3e401b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:30:46 ---> job-cost.sh 08:30:46 lf-activate-venv: SKIPPING 08:30:46 INFO: No Stack... 08:30:46 INFO: Retrieving Pricing Info for: v3-standard-4 08:30:47 INFO: Archiving Costs [Pipeline] sh 08:30:48 + cat /w/workspace/device-usb-camera/3/archives/cost.csv 08:30:48 + cut -d, -f6 [Pipeline] lock 08:30:48 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-27-3-stack-cost] 08:30:48 Resource [jenkins-edgexfoundry-device-usb-camera-PR-27-3-stack-cost] did not exist. Created. 08:30:48 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-27-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:30:48 /w/workspace/device-usb-camera/3@tmp/durable-8ebeb89d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:30:49 + echo total: 0.10999999940395355 [Pipeline] stash 08:30:49 Warning: overwriting stash ‘stack-cost’ 08:30:49 Stashed 1 file(s) [Pipeline] } 08:30:49 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-27-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:30:49 $ docker stop --time=1 7ff6b3787e444a75624e5b5ec315992e2e5d1a4198df14718f1d3765a3e401b0 08:30:51 $ docker rm -f 7ff6b3787e444a75624e5b5ec315992e2e5d1a4198df14718f1d3765a3e401b0 [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 08:30:51 provisioning config files... 08:30:51 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/config8399896799568739406tmp [Pipeline] { [Pipeline] sh 08:30:51 + set +x 08:30:51 + curl -s https://codecov.io/bash 08:30:51 + bash -s -- 08:30:51 08:30:51 _____ _ 08:30:51 / ____| | | 08:30:51 | | ___ __| | ___ ___ _____ __ 08:30:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:30:51 | |___| (_) | (_| | __/ (_| (_) \ V / 08:30:51 \_____\___/ \__,_|\___|\___\___/ \_/ 08:30:51 Bash-1.0.6 08:30:51 08:30:51 08:30:51 ==> git version 2.25.1 found 08:30:51 ==> 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 08:30:51 Release-Date: 2020-01-08 08:30:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:30:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:30:51 ==> Jenkins CI detected. 08:30:51 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-27 08:30:51 project root: . 08:30:51 --> token set from env 08:30:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:30:51 ==> Running gcov in . (disable via -X gcov) 08:30:51 ==> Python coveragepy not found 08:30:51 ==> Searching for coverage reports in: 08:30:51 + . 08:30:51 -> Found 1 reports 08:30:51 ==> Detecting git/mercurial file structure 08:30:51 ==> Reading reports 08:30:51 + ./coverage.out bytes=10 08:30:51 ==> Appending adjustments 08:30:51 https://docs.codecov.io/docs/fixing-reports 08:30:52 + Found adjustments 08:30:52 ==> Gzipping contents 08:30:52 4.0K /tmp/codecov.uMkRtA.gz 08:30:52 ==> Uploading reports 08:30:52 url: https://codecov.io 08:30:52 query: branch=PR-27&commit=39bf0d04bda255fe6af5bda747436c74eca6fe62&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-27%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=27&job=&cmd_args= 08:30:52 -> Pinging Codecov 08:30:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-27&commit=39bf0d04bda255fe6af5bda747436c74eca6fe62&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-27%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=27&job=&cmd_args= 08:30:52 -> Uploading to 08:30:52 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/73D8F5FF140700D3E01443B452E23636/39bf0d04bda255fe6af5bda747436c74eca6fe62/4242f9ac-5c35-4292-a0c4-881d6ce89877.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T083052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3bfc768d05a4a39db3c5b45935875168e4658817adde3b2f6fe1f78c7b9b7e 08:30:52 % Total % Received % Xferd Average Speed Time Time Time Current 08:30:52 Dload Upload Total Spent Left Speed 08:30:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1006 0 0 100 1006 0 4209 --:--:-- --:--:-- --:--:-- 4209 08:30:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/39bf0d04bda255fe6af5bda747436c74eca6fe62 [Pipeline] } 08:30:52 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 08:30:53 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-27/archives ] 08:30:53 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-27/archives 08:30:53 total 16 08:30:53 drwxr-xr-x 3 root root 4096 May 20 08:24 . 08:30:53 drwxrwxr-x 10 jenkins jenkins 4096 May 20 08:24 .. 08:30:53 drwxr-xr-x 2 root root 4096 May 20 08:24 cost 08:30:53 -rw-r--r-- 1 root root 87 May 20 08:24 cost.csv 08:30:53 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-27/archives 08:30:53 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-27/archives 08:30:53 total 16 08:30:53 drwxr-xr-x 3 jenkins jenkins 4096 May 20 08:24 . 08:30:53 drwxrwxr-x 10 jenkins jenkins 4096 May 20 08:24 .. 08:30:53 drwxr-xr-x 2 jenkins jenkins 4096 May 20 08:24 cost 08:30:53 -rw-r--r-- 1 jenkins jenkins 87 May 20 08:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:30:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:30:55 ---> package-listing.sh 08:30:55 ++ tr '[:upper:]' '[:lower:]' 08:30:55 ++ facter osfamily 08:30:55 + OS_FAMILY=debian 08:30:55 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-27 08:30:55 + START_PACKAGES=/tmp/packages_start.txt 08:30:55 + END_PACKAGES=/tmp/packages_end.txt 08:30:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:30:55 + PACKAGES=/tmp/packages_start.txt 08:30:55 + '[' /w/workspace/xfoundry_device-usb-camera_PR-27 ']' 08:30:55 + PACKAGES=/tmp/packages_end.txt 08:30:55 + case "${OS_FAMILY}" in 08:30:55 + dpkg -l 08:30:55 + grep '^ii' 08:30:55 + '[' -f /tmp/packages_start.txt ']' 08:30:55 + '[' -f /tmp/packages_end.txt ']' 08:30:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:30:55 + '[' /w/workspace/xfoundry_device-usb-camera_PR-27 ']' 08:30:55 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-27/archives/ 08:30:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-27/archives/ [Pipeline] echo 08:30:55 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-27/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:30:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:30:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:30:56 . [Pipeline] withDockerContainer 08:30:56 prd-ubuntu20.04-docker-8c-8g-64173 does not seem to be running inside a container 08:30:56 $ 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-27/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-27 -v /w/workspace/xfoundry_device-usb-camera_PR-27:/w/workspace/xfoundry_device-usb-camera_PR-27:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-27@tmp:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:30:57 $ docker top 45bc9705216e47c3c73f59e97c447328299826ea659caac1b860ec9662d83279 -eo pid,comm [Pipeline] { [Pipeline] sh 08:30:57 + touch /tmp/pre-build-complete [Pipeline] sh 08:30:57 + mkdir -p /var/log/sysstat [Pipeline] sh 08:30:58 + ls /var/log/sa-host 08:30:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:30:58 provisioning config files... 08:30:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-27@tmp/config6745574791979097545tmp [Pipeline] { [Pipeline] echo 08:30:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:30:58 ---> create-netrc.sh [Pipeline] } 08:30:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:30:58 ---> python-tools-install.sh [Pipeline] echo 08:30:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:30:59 ---> sudo-logs.sh 08:30:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:30:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:30:59 ---> job-cost.sh 08:30:59 lf-activate-venv: SKIPPING 08:30:59 DEBUG: total: 0.2199999988079071 08:30:59 INFO: Retrieving Stack Cost... 08:30:59 INFO: Retrieving Pricing Info for: v3-standard-8 08:31:00 INFO: Archiving Costs [Pipeline] echo 08:31:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:31:00 ---> logs-deploy.sh 08:31:00 lf-activate-venv: SKIPPING 08:31:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-27/3 08:31:00 INFO: archiving workspace using pattern(s): 08:31:01 Archives upload complete. 08:31:01 INFO: archiving logs to Nexus