Pull request #30 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 9d425a122fc8d93ed8c47b9571e6ceae85e14b67+f39f8737115c4aee3eed177658c873badef7abfd (9b2a030a803ad8539126d0f9376f0298d04f46ed) 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-ssh455771212341514331.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-ssh1771533268526380263.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9219993786411000214.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13960088572210409558.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15464263445484167663.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17581994490133218097.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-43 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-30 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f39f8737115c4aee3eed177658c873badef7abfd into PR head commit 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 Merge succeeded, producing 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 Checking out Revision 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 (PR-30) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f39f8737115c4aee3eed177658c873badef7abfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 # timeout=10 Commit message: "Merge remote-tracking branch 'upstream/main' into snap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:40:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 746f88d770b2e869281661893865573549362065 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:40:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:40:06 ========================================================= 08:40:06 EdgeX Global Pipelines Version Info 08:40:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:40:07 ------------------- 08:40:07 stable info: 08:40:07 ------------------- 08:40:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:40:07 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 08:40:07 Message: update stable to v1.0.230 08:40:08 ------------------- 08:40:08 experimental info: 08:40:08 ------------------- 08:40:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:40:08 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 08:40:08 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d425a1 [Pipeline] echo 08:40:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:40:08 provisioning config files... 08:40:08 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8884766039046480705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:40:09 ---> docker-login.sh 08:40:09 nexus3.edgexfoundry.org:10001 08:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:09 Configure a credential helper to remove this warning. See 08:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:09 08:40:09 Login Succeeded 08:40:09 nexus3.edgexfoundry.org:10002 08:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:09 Configure a credential helper to remove this warning. See 08:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:09 08:40:09 Login Succeeded 08:40:09 nexus3.edgexfoundry.org:10003 08:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:09 Configure a credential helper to remove this warning. See 08:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:09 08:40:09 Login Succeeded 08:40:09 nexus3.edgexfoundry.org:10004 08:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:10 Configure a credential helper to remove this warning. See 08:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:10 08:40:10 Login Succeeded 08:40:10 docker.io 08:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:10 Configure a credential helper to remove this warning. See 08:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:10 08:40:10 Login Succeeded 08:40:10 ---> docker-login.sh ends [Pipeline] } 08:40:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:40:10 + git rev-list -1 --merges 9d425a122fc8d93ed8c47b9571e6ceae85e14b67~1..9d425a122fc8d93ed8c47b9571e6ceae85e14b67 [Pipeline] echo 08:40:10 -----------> git rev-list -1 --merges 9d425a122fc8d93ed8c47b9571e6ceae85e14b67~1..9d425a122fc8d93ed8c47b9571e6ceae85e14b67 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 08:40:10 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 [false] [Pipeline] sh 08:40:11 + git log --format=format:%s -1 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 [Pipeline] echo 08:40:11 ========================================================= 08:40:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:40:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:40:11 + git log --format=format:%s -1 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 [Pipeline] echo 08:40:11 [semverPrep] GIT_COMMIT: 9d425a122fc8d93ed8c47b9571e6ceae85e14b67, Commit Message: Merge remote-tracking branch 'upstream/main' into snap [Pipeline] echo 08:40:11 [semverPrep] This is not a build commit. [Pipeline] sh 08:40:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:40:12 + grep -v github /etc/ssh/ssh_known_hosts 08:40:12 + [ -e /tmp/ssh_known_hosts ] 08:40:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:40:12 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 08:40:12 -a /etc/ssh/ssh_known_hosts 08:40:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:40:12 08:40:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:40:12 latest: Pulling from edgex-devops/py-git-semver 08:40:12 1fe172e4850f: Pulling fs layer 08:40:12 caf521ccaac6: Pulling fs layer 08:40:12 3ead6fa29328: Pulling fs layer 08:40:12 5c2a1cbceb83: Pulling fs layer 08:40:12 a8d5f1318db7: Pulling fs layer 08:40:12 c427282e49a2: Pulling fs layer 08:40:12 1827001aaf11: Pulling fs layer 08:40:12 0714d37db230: Pulling fs layer 08:40:12 ac28cf19c067: Pulling fs layer 08:40:12 ca983d60f3e2: Pulling fs layer 08:40:12 9f894cec8388: Pulling fs layer 08:40:12 1827001aaf11: Waiting 08:40:12 ca983d60f3e2: Waiting 08:40:12 9f894cec8388: Waiting 08:40:12 0714d37db230: Waiting 08:40:12 ac28cf19c067: Waiting 08:40:12 c427282e49a2: Waiting 08:40:12 5c2a1cbceb83: Waiting 08:40:12 a8d5f1318db7: Waiting 08:40:12 caf521ccaac6: Download complete 08:40:12 5c2a1cbceb83: Verifying Checksum 08:40:12 5c2a1cbceb83: Download complete 08:40:12 a8d5f1318db7: Verifying Checksum 08:40:12 a8d5f1318db7: Download complete 08:40:12 c427282e49a2: Verifying Checksum 08:40:12 c427282e49a2: Download complete 08:40:12 3ead6fa29328: Verifying Checksum 08:40:12 3ead6fa29328: Download complete 08:40:12 0714d37db230: Verifying Checksum 08:40:12 0714d37db230: Download complete 08:40:12 ac28cf19c067: Verifying Checksum 08:40:12 ac28cf19c067: Download complete 08:40:12 ca983d60f3e2: Verifying Checksum 08:40:12 ca983d60f3e2: Download complete 08:40:12 9f894cec8388: Verifying Checksum 08:40:12 9f894cec8388: Download complete 08:40:12 1fe172e4850f: Verifying Checksum 08:40:12 1fe172e4850f: Download complete 08:40:13 1827001aaf11: Verifying Checksum 08:40:13 1827001aaf11: Download complete 08:40:14 1fe172e4850f: Pull complete 08:40:14 caf521ccaac6: Pull complete 08:40:15 3ead6fa29328: Pull complete 08:40:15 5c2a1cbceb83: Pull complete 08:40:15 a8d5f1318db7: Pull complete 08:40:15 c427282e49a2: Pull complete 08:40:17 1827001aaf11: Pull complete 08:40:17 0714d37db230: Pull complete 08:40:17 ac28cf19c067: Pull complete 08:40:17 ca983d60f3e2: Pull complete 08:40:17 9f894cec8388: Pull complete 08:40:18 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 08:40:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 08:40:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:18 prd-ubuntu20.04-docker-8c-8g-43 does not seem to be running inside a container 08:40:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 08:40:19 $ docker top 749faa333eb22121705deab204faa60ed1c91525cb1fa39ad997661499747b4b -eo pid,comm 08:40:20 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:40:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:40:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:40:20 [ssh-agent] Looking for ssh-agent implementation... 08:40:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:40:20 $ docker exec 749faa333eb22121705deab204faa60ed1c91525cb1fa39ad997661499747b4b ssh-agent 08:40:20 SSH_AUTH_SOCK=/tmp/ssh-A5SZy8zumvXb/agent.33 08:40:20 SSH_AGENT_PID=41 08:40:20 Running ssh-add (command line suppressed) 08:40:20 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_5992178821571620559.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_5992178821571620559.key) 08:40:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:40:20 + git tag --points-at HEAD [Pipeline] } 08:40:20 $ docker exec --env ******** --env ******** 749faa333eb22121705deab204faa60ed1c91525cb1fa39ad997661499747b4b ssh-agent -k 08:40:20 unset SSH_AUTH_SOCK; 08:40:20 unset SSH_AGENT_PID; 08:40:20 echo Agent pid 41 killed; 08:40:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:40:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:40:20 [ssh-agent] Looking for ssh-agent implementation... 08:40:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:40:21 $ docker exec 749faa333eb22121705deab204faa60ed1c91525cb1fa39ad997661499747b4b ssh-agent 08:40:21 SSH_AUTH_SOCK=/tmp/ssh-Z8UkEv1auct4/agent.75 08:40:21 SSH_AGENT_PID=81 08:40:21 Running ssh-add (command line suppressed) 08:40:21 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3248321665695082796.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3248321665695082796.key) 08:40:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:40:21 + git semver init 08:40:21 2022-05-25 08:40:21,892 [run_init] DEBUG init version:0.0.0 force:False 08:40:21 2022-05-25 08:40:21,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 08:40:21 2022-05-25 08:40:21,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 08:40:21 2022-05-25 08:40:21,893 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) 08:40:22 2022-05-25 08:40:22,435 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 08:40:22 2022-05-25 08:40:22,436 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 08:40:22 2022-05-25 08:40:22,436 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 08:40:22 2022-05-25 08:40:22,440 [execute] INFO git cat-file --batch-check 08:40:22 2022-05-25 08:40:22,441 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 08:40:22 2022-05-25 08:40:22,446 [execute] INFO git cat-file --batch 08:40:22 2022-05-25 08:40:22,446 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 08:40:22 2022-05-25 08:40:22,450 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 08:40:22 0.0.0 [Pipeline] } 08:40:22 $ docker exec --env ******** --env ******** 749faa333eb22121705deab204faa60ed1c91525cb1fa39ad997661499747b4b ssh-agent -k 08:40:22 unset SSH_AUTH_SOCK; 08:40:22 unset SSH_AGENT_PID; 08:40:22 echo Agent pid 81 killed; 08:40:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:40:22 + git semver [Pipeline] } 08:40:23 $ docker stop --time=1 749faa333eb22121705deab204faa60ed1c91525cb1fa39ad997661499747b4b 08:40:24 $ docker rm -f 749faa333eb22121705deab204faa60ed1c91525cb1fa39ad997661499747b4b [Pipeline] // withDockerContainer [Pipeline] sh 08:40:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:40:25 Stashed 1 file(s) [Pipeline] echo 08:40:25 [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:40:25 provisioning config files... 08:40:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config7261190881282745688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:40:25 ---> docker-login.sh 08:40:25 nexus3.edgexfoundry.org:10001 08:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:25 Configure a credential helper to remove this warning. See 08:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:25 08:40:25 Login Succeeded 08:40:25 nexus3.edgexfoundry.org:10002 08:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:25 Configure a credential helper to remove this warning. See 08:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:25 08:40:25 Login Succeeded 08:40:25 nexus3.edgexfoundry.org:10003 08:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:25 Configure a credential helper to remove this warning. See 08:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:25 08:40:25 Login Succeeded 08:40:25 nexus3.edgexfoundry.org:10004 08:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:26 Configure a credential helper to remove this warning. See 08:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:26 08:40:26 Login Succeeded 08:40:26 docker.io 08:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:40:26 Configure a credential helper to remove this warning. See 08:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:40:26 08:40:26 Login Succeeded 08:40:26 ---> docker-login.sh ends [Pipeline] } 08:40:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:40:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:40:26 ========================================================= 08:40:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:40:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:26 + 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:40:26 Sending build context to Docker daemon 777.2kB 08:40:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:40:26 Step 2/12 : FROM ${BASE} AS builder 08:40:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:40:26 59bf1c3509f3: Pulling fs layer 08:40:26 666ba61612fd: Pulling fs layer 08:40:26 8ed8ca486205: Pulling fs layer 08:40:26 4fe6c5a15a65: Pulling fs layer 08:40:26 22a0e8bec74d: Pulling fs layer 08:40:26 ca2b28591e48: Pulling fs layer 08:40:26 a51346096db8: Pulling fs layer 08:40:26 daebc70d1ce1: Pulling fs layer 08:40:26 0e18a0eac166: Pulling fs layer 08:40:26 4fe6c5a15a65: Waiting 08:40:26 22a0e8bec74d: Waiting 08:40:26 ca2b28591e48: Waiting 08:40:26 a51346096db8: Waiting 08:40:26 daebc70d1ce1: Waiting 08:40:26 0e18a0eac166: Waiting 08:40:26 8ed8ca486205: Verifying Checksum 08:40:26 8ed8ca486205: Download complete 08:40:26 666ba61612fd: Download complete 08:40:26 22a0e8bec74d: Verifying Checksum 08:40:26 22a0e8bec74d: Download complete 08:40:26 ca2b28591e48: Download complete 08:40:26 59bf1c3509f3: Verifying Checksum 08:40:26 a51346096db8: Verifying Checksum 08:40:26 a51346096db8: Download complete 08:40:27 daebc70d1ce1: Verifying Checksum 08:40:27 daebc70d1ce1: Download complete 08:40:27 59bf1c3509f3: Pull complete 08:40:27 666ba61612fd: Pull complete 08:40:27 8ed8ca486205: Pull complete 08:40:27 0e18a0eac166: Verifying Checksum 08:40:27 0e18a0eac166: Download complete 08:40:27 4fe6c5a15a65: Verifying Checksum 08:40:27 4fe6c5a15a65: Download complete 08:40:32 4fe6c5a15a65: Pull complete 08:40:32 22a0e8bec74d: Pull complete 08:40:32 ca2b28591e48: Pull complete 08:40:32 a51346096db8: Pull complete 08:40:32 daebc70d1ce1: Pull complete 08:40:34 0e18a0eac166: Pull complete 08:40:34 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:40:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:40:34 ---> f018257e8ee9 08:40:34 Step 3/12 : ARG MAKE="make build" 08:40:35 ---> Running in 6aae039c9906 08:40:35 Removing intermediate container 6aae039c9906 08:40:35 ---> cffe5101f704 08:40:35 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:40:35 ---> Running in ca764eedc909 08:40:35 Removing intermediate container ca764eedc909 08:40:35 ---> 26771a011b9a 08:40:35 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:40:35 ---> Running in 0892985e4efd 08:40:36 Removing intermediate container 0892985e4efd 08:40:36 ---> b473f03ca753 08:40:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:40:36 ---> Running in ede2253953a2 08:40:36 Removing intermediate container ede2253953a2 08:40:36 ---> 4a30491853c9 08:40:36 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:40:36 ---> Running in 4cb6e9b282d3 08:40:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:40:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:40:38 (1/81) Installing mesa (21.2.6-r0) 08:40:38 (2/81) Installing libxau (1.0.9-r0) 08:40:38 (3/81) Installing libmd (1.0.3-r0) 08:40:38 (4/81) Installing libbsd (0.11.3-r1) 08:40:38 (5/81) Installing libxdmcp (1.1.3-r0) 08:40:38 (6/81) Installing libxcb (1.14-r2) 08:40:38 (7/81) Installing libx11 (1.7.2-r0) 08:40:39 (8/81) Installing libxext (1.3.4-r0) 08:40:39 (9/81) Installing libxfixes (6.0.0-r0) 08:40:39 (10/81) Installing libxxf86vm (1.1.4-r2) 08:40:39 (11/81) Installing libpciaccess (0.16-r0) 08:40:39 (12/81) Installing libdrm (2.4.109-r0) 08:40:39 (13/81) Installing mesa-glapi (21.2.6-r0) 08:40:39 (14/81) Installing libxshmfence (1.3-r1) 08:40:39 (15/81) Installing mesa-gl (21.2.6-r0) 08:40:39 (16/81) Installing libice (1.0.10-r0) 08:40:39 (17/81) Installing libuuid (2.37.4-r0) 08:40:39 (18/81) Installing libsm (1.2.3-r0) 08:40:39 (19/81) Installing libxt (1.2.1-r0) 08:40:40 (20/81) Installing libxmu (1.1.3-r0) 08:40:40 (21/81) Installing xset (1.2.4-r0) 08:40:40 (22/81) Installing xprop (1.2.5-r0) 08:40:40 Still waiting to schedule task 08:40:40 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:40:40 (23/81) Installing xdg-utils (1.1.3-r0) 08:40:40 (24/81) Installing dbus-libs (1.12.20-r4) 08:40:40 (25/81) Installing libffi (3.4.2-r1) 08:40:40 (26/81) Installing libintl (0.21-r0) 08:40:40 (27/81) Installing libblkid (2.37.4-r0) 08:40:40 (28/81) Installing libmount (2.37.4-r0) 08:40:40 (29/81) Installing pcre (8.45-r1) 08:40:40 (30/81) Installing glib (2.70.1-r0) 08:40:41 (31/81) Installing icu-libs (69.1-r1) 08:40:41 (32/81) Installing libpcre2-16 (10.39-r0) 08:40:41 (33/81) Installing zstd-libs (1.5.0-r0) 08:40:42 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 08:40:42 (35/81) Installing hicolor-icon-theme (0.17-r1) 08:40:42 (36/81) Installing wayland-libs-server (1.19.0-r1) 08:40:42 (37/81) Installing mesa-gbm (21.2.6-r0) 08:40:42 (38/81) Installing wayland-libs-client (1.19.0-r1) 08:40:42 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 08:40:42 (40/81) Installing libxcomposite (0.4.5-r0) 08:40:42 (41/81) Installing libbz2 (1.0.8-r1) 08:40:42 (42/81) Installing libpng (1.6.37-r1) 08:40:43 (43/81) Installing freetype (2.11.1-r2) 08:40:43 (44/81) Installing fontconfig (2.13.1-r4) 08:40:43 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 08:40:43 (46/81) Installing wayland-libs-egl (1.19.0-r1) 08:40:43 (47/81) Installing xkeyboard-config (2.34-r0) 08:40:43 (48/81) Installing xz-libs (5.2.5-r1) 08:40:43 (49/81) Installing libxml2 (2.9.14-r0) 08:40:43 (50/81) Installing libxkbcommon (1.3.1-r0) 08:40:43 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 08:40:43 (52/81) Installing mesa-egl (21.2.6-r0) 08:40:43 (53/81) Installing avahi-libs (0.8-r5) 08:40:44 (54/81) Installing nettle (3.7.3-r0) 08:40:44 (55/81) Installing p11-kit (0.24.0-r1) 08:40:44 (56/81) Installing libtasn1 (4.18.0-r0) 08:40:44 (57/81) Installing libunistring (0.9.10-r1) 08:40:44 (58/81) Installing gnutls (3.7.1-r0) 08:40:44 (59/81) Installing cups-libs (2.3.3-r5) 08:40:44 (60/81) Installing graphite2 (1.3.14-r0) 08:40:44 (61/81) Installing harfbuzz (3.0.0-r2) 08:40:44 (62/81) Installing libevdev (1.12.0-r0) 08:40:44 (63/81) Installing mtdev (1.1.6-r0) 08:40:44 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 08:40:45 (65/81) Installing libinput-libs (1.19.4-r0) 08:40:45 (66/81) Installing libjpeg-turbo (2.1.2-r0) 08:40:45 (67/81) Installing xcb-util-wm (0.4.1-r1) 08:40:45 (68/81) Installing xcb-util (0.4.0-r3) 08:40:45 (69/81) Installing xcb-util-image (0.4.0-r1) 08:40:45 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 08:40:45 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 08:40:45 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 08:40:45 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 08:40:46 (74/81) Installing v4l-utils-libs (1.22.1-r1) 08:40:46 (75/81) Installing v4l-utils (1.22.1-r1) 08:40:46 (76/81) Installing udev-init-scripts (35-r0) 08:40:46 Executing udev-init-scripts-35-r0.post-install 08:40:46 (77/81) Installing kmod-libs (29-r2) 08:40:46 (78/81) Installing eudev (3.2.11_pre1-r0) 08:40:46 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 08:40:46 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 08:40:46 (81/81) Installing v4l-utils-dev (1.22.1-r1) 08:40:46 Executing busybox-1.34.1-r3.trigger 08:40:46 Executing eudev-3.2.11_pre1-r0.trigger 08:40:46 OK: 335 MiB in 133 packages 08:40:49 Removing intermediate container 4cb6e9b282d3 08:40:49 ---> 387784dcc7f2 08:40:49 Step 8/12 : WORKDIR /device-usb-camera 08:40:49 ---> Running in c0ae6b5babb0 08:40:49 Removing intermediate container c0ae6b5babb0 08:40:49 ---> 00ef06ac5224 08:40:49 Step 9/12 : COPY go.mod vendor* ./ 08:40:49 ---> a2ba984336ac 08:40:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:40:49 ---> Running in 2c4a5d8c31fa 08:41:07 Removing intermediate container 2c4a5d8c31fa 08:41:07 ---> 7ed0727cb1f6 08:41:07 Step 11/12 : COPY . . 08:41:07 ---> 96eac6115562 08:41:07 Step 12/12 : RUN ${MAKE} 08:41:07 ---> Running in ca87ef7745ab 08:41:07 noop 08:41:07 Removing intermediate container ca87ef7745ab 08:41:07 ---> fca7110f2b3d 08:41:07 Successfully built fca7110f2b3d 08:41:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:08 + docker inspect -f . ci-base-image-x86_64 08:41:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:08 prd-ubuntu20.04-docker-8c-8g-43 does not seem to be running inside a container 08:41:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:41:08 $ docker top 7116847f25b2a0983e6075a7bedbbeb001d4fab573215e95bee0eb7a5b82c422 -eo pid,comm [Pipeline] { [Pipeline] sh 08:41:09 + go version 08:41:09 go version go1.17.6 linux/amd64 [Pipeline] } 08:41:09 $ docker stop --time=1 7116847f25b2a0983e6075a7bedbbeb001d4fab573215e95bee0eb7a5b82c422 08:41:10 $ docker rm -f 7116847f25b2a0983e6075a7bedbbeb001d4fab573215e95bee0eb7a5b82c422 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:10 + docker inspect -f . ci-base-image-x86_64 08:41:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:10 prd-ubuntu20.04-docker-8c-8g-43 does not seem to be running inside a container 08:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:41:11 $ docker top cf0e0dfef0ddc14d9e9d2a630e87890e08efdaff4c496a36618b991d2e50a2d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:41:11 + make test 08:41:11 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 08:41:11 ? github.com/edgexfoundry/device-usb-camera [no test files] 08:41:21 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 08:41:21 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 08:41:28 CGO_ENABLED=1 go vet ./... 08:41:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:41:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:41:32 ./bin/test-attribution-txt.sh [Pipeline] echo 08:41:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:41:32 $ docker stop --time=1 cf0e0dfef0ddc14d9e9d2a630e87890e08efdaff4c496a36618b991d2e50a2d8 08:41:34 $ docker rm -f cf0e0dfef0ddc14d9e9d2a630e87890e08efdaff4c496a36618b991d2e50a2d8 [Pipeline] // withDockerContainer [Pipeline] sh 08:41:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:41:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:41:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:41:35 + ls -al . 08:41:35 total 168 08:41:35 drwxrwxr-x 10 jenkins jenkins 4096 May 25 08:41 . 08:41:35 drwxrwxr-x 4 jenkins jenkins 4096 May 25 08:40 .. 08:41:35 drwxrwxr-x 8 jenkins jenkins 4096 May 25 08:40 .git 08:41:35 drwxrwxr-x 2 jenkins jenkins 4096 May 25 08:40 .github 08:41:35 -rw-rw-r-- 1 jenkins jenkins 414 May 25 08:40 .gitignore 08:41:35 -rw-rw-r-- 1 jenkins jenkins 42 May 25 08:40 .golangci.yml 08:41:35 -rw-rw-r-- 1 jenkins jenkins 77 May 25 08:40 .hadolint.yml 08:41:35 drwxr-xr-x 3 jenkins jenkins 4096 May 25 08:40 .semver 08:41:35 -rw-rw-r-- 1 jenkins jenkins 8706 May 25 08:40 Attribution.txt 08:41:35 -rw-rw-r-- 1 jenkins jenkins 181 May 25 08:40 CHANGELOG.md 08:41:35 -rw-rw-r-- 1 jenkins jenkins 1891 May 25 08:40 Dockerfile 08:41:35 -rw-rw-r-- 1 jenkins jenkins 678 May 25 08:40 GOVERNANCE.md 08:41:35 -rw-rw-r-- 1 jenkins jenkins 659 May 25 08:40 Jenkinsfile 08:41:35 -rw-rw-r-- 1 jenkins jenkins 11348 May 25 08:40 LICENSE 08:41:35 -rw-rw-r-- 1 jenkins jenkins 2345 May 25 08:40 Makefile 08:41:35 -rw-rw-r-- 1 jenkins jenkins 622 May 25 08:40 OWNERS.md 08:41:35 -rw-rw-r-- 1 jenkins jenkins 8912 May 25 08:40 README.md 08:41:35 -rw-rw-r-- 1 jenkins jenkins 5 May 25 08:40 VERSION 08:41:35 drwxrwxr-x 2 jenkins jenkins 4096 May 25 08:40 bin 08:41:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 08:40 cmd 08:41:35 -rw-r--r-- 1 jenkins jenkins 10 May 25 08:41 coverage.out 08:41:35 drwxrwxr-x 2 jenkins jenkins 4096 May 25 08:40 docker-compose 08:41:35 -rw-rw-r-- 1 jenkins jenkins 140 May 25 08:40 docker-entrypoint.sh 08:41:35 -rw-rw-r-- 1 jenkins jenkins 3307 May 25 08:40 go.mod 08:41:35 -rw-rw-r-- 1 jenkins jenkins 35656 May 25 08:40 go.sum 08:41:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 08:40 internal 08:41:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 08:40 snap 08:41:35 -rw-rw-r-- 1 jenkins jenkins 231 May 25 08:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:36 + 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=9d425a122fc8d93ed8c47b9571e6ceae85e14b67 --label arch=amd64 --label version=0.0.0 . 08:41:36 Sending build context to Docker daemon 778.2kB 08:41:36 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 08:41:36 Step 2/29 : FROM ${BASE} AS builder 08:41:36 ---> fca7110f2b3d 08:41:36 Step 3/29 : ARG MAKE="make build" 08:41:36 ---> Running in 9c668462596d 08:41:36 Removing intermediate container 9c668462596d 08:41:36 ---> 17e2eade277e 08:41:36 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:41:36 ---> Running in b99d76940452 08:41:36 Removing intermediate container b99d76940452 08:41:36 ---> 7d56a9281c14 08:41:36 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:41:36 ---> Running in e86cf05cb21f 08:41:36 Removing intermediate container e86cf05cb21f 08:41:36 ---> ebf9cf275c43 08:41:36 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:41:36 ---> Running in b0ac03ae0bba 08:41:37 Removing intermediate container b0ac03ae0bba 08:41:37 ---> f291ac5b5f96 08:41:37 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:41:37 ---> Running in 9df65026f3cb 08:41:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:41:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:41:38 OK: 335 MiB in 133 packages 08:41:39 Removing intermediate container 9df65026f3cb 08:41:39 ---> 84eb8c97bf34 08:41:39 Step 8/29 : WORKDIR /device-usb-camera 08:41:39 ---> Running in 4f6924db0a57 08:41:39 Removing intermediate container 4f6924db0a57 08:41:39 ---> 8ff922762683 08:41:39 Step 9/29 : COPY go.mod vendor* ./ 08:41:39 ---> 86cee5495ddb 08:41:39 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:41:39 ---> Running in 736bd0c2370e 08:41:40 Removing intermediate container 736bd0c2370e 08:41:40 ---> a706a111b1c0 08:41:40 Step 11/29 : COPY . . 08:41:40 ---> 70128a5cdfab 08:41:40 Step 12/29 : RUN ${MAKE} 08:41:40 ---> Running in cbd1d0adf0c2 08:41:41 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 08:42:02 Removing intermediate container cbd1d0adf0c2 08:42:02 ---> 67b4999a21f9 08:42:02 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 08:42:02 v0.18.4: Pulling from aler9/rtsp-simple-server 08:42:02 af6660deedbd: Pulling fs layer 08:42:02 97cd0a44c592: Pulling fs layer 08:42:02 97cd0a44c592: Verifying Checksum 08:42:02 97cd0a44c592: Download complete 08:42:02 af6660deedbd: Verifying Checksum 08:42:02 af6660deedbd: Download complete 08:42:02 af6660deedbd: Pull complete 08:42:02 97cd0a44c592: Pull complete 08:42:02 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 08:42:02 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 08:42:02 ---> fea57e182299 08:42:02 Step 14/29 : FROM alpine:3.15 08:42:02 3.15: Pulling from library/alpine 08:42:02 df9b9388f04a: Pulling fs layer 08:42:03 df9b9388f04a: Verifying Checksum 08:42:03 df9b9388f04a: Download complete 08:42:03 df9b9388f04a: Pull complete 08:42:03 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:42:03 Status: Downloaded newer image for alpine:3.15 08:42:03 ---> 0ac33e5f5afa 08:42:03 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:42:03 ---> Running in 798c061ad8be 08:42:03 Removing intermediate container 798c061ad8be 08:42:03 ---> 2ec8c9ccff15 08:42:03 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 08:42:03 ---> Running in 3c2b1308dc2a 08:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:42:04 (1/74) Installing dumb-init (1.2.5-r1) 08:42:04 (2/74) Installing sdl2 (2.0.16-r4) 08:42:04 (3/74) Installing libxau (1.0.9-r0) 08:42:04 (4/74) Installing libmd (1.0.3-r0) 08:42:04 (5/74) Installing libbsd (0.11.3-r1) 08:42:04 (6/74) Installing libxdmcp (1.1.3-r0) 08:42:04 (7/74) Installing libxcb (1.14-r2) 08:42:04 (8/74) Installing libx11 (1.7.2-r0) 08:42:04 (9/74) Installing aom-libs (3.2.0-r0) 08:42:04 (10/74) Installing alsa-lib (1.2.5.1-r1) 08:42:04 (11/74) Installing expat (2.4.7-r0) 08:42:04 (12/74) Installing brotli-libs (1.0.9-r5) 08:42:04 (13/74) Installing libbz2 (1.0.8-r1) 08:42:04 (14/74) Installing libpng (1.6.37-r1) 08:42:04 (15/74) Installing freetype (2.11.1-r2) 08:42:04 (16/74) Installing libuuid (2.37.4-r0) 08:42:04 (17/74) Installing fontconfig (2.13.1-r4) 08:42:04 (18/74) Installing fribidi (1.0.11-r0) 08:42:04 (19/74) Installing libffi (3.4.2-r1) 08:42:04 (20/74) Installing libintl (0.21-r0) 08:42:04 (21/74) Installing libblkid (2.37.4-r0) 08:42:04 (22/74) Installing libmount (2.37.4-r0) 08:42:04 (23/74) Installing pcre (8.45-r1) 08:42:04 (24/74) Installing glib (2.70.1-r0) 08:42:04 (25/74) Installing graphite2 (1.3.14-r0) 08:42:04 (26/74) Installing harfbuzz (3.0.0-r2) 08:42:04 (27/74) Installing libass (0.15.2-r0) 08:42:04 (28/74) Installing libdav1d (0.9.2-r0) 08:42:04 (29/74) Installing gmp (6.2.1-r1) 08:42:04 (30/74) Installing nettle (3.7.3-r0) 08:42:04 (31/74) Installing p11-kit (0.24.0-r1) 08:42:04 (32/74) Installing libtasn1 (4.18.0-r0) 08:42:04 (33/74) Installing libunistring (0.9.10-r1) 08:42:04 (34/74) Installing gnutls (3.7.1-r0) 08:42:04 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 08:42:04 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 08:42:04 (37/74) Installing lame (3.100-r0) 08:42:04 (38/74) Installing opus (1.3.1-r1) 08:42:04 (39/74) Installing libgomp (10.3.1_git20211027-r0) 08:42:04 (40/74) Installing soxr (0.1.3-r2) 08:42:04 (41/74) Installing libgcc (10.3.1_git20211027-r0) 08:42:04 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 08:42:04 (43/74) Installing libsrt (1.4.2-r1) 08:42:04 (44/74) Installing libssh (0.9.6-r1) 08:42:04 (45/74) Installing libogg (1.3.5-r0) 08:42:04 (46/74) Installing libtheora (1.1.1-r16) 08:42:04 (47/74) Installing libjpeg-turbo (2.1.2-r0) 08:42:04 (48/74) Installing v4l-utils-libs (1.22.1-r1) 08:42:04 (49/74) Installing libxext (1.3.4-r0) 08:42:04 (50/74) Installing libxfixes (6.0.0-r0) 08:42:04 (51/74) Installing libpciaccess (0.16-r0) 08:42:04 (52/74) Installing libdrm (2.4.109-r0) 08:42:04 (53/74) Installing wayland-libs-client (1.19.0-r1) 08:42:04 (54/74) Installing libva (2.13.0-r0) 08:42:04 (55/74) Installing libvdpau (1.4-r0) 08:42:04 (56/74) Installing vidstab (1.1.0-r1) 08:42:04 (57/74) Installing libvorbis (1.3.7-r0) 08:42:05 (58/74) Installing libvpx (1.10.0-r0) 08:42:05 (59/74) Installing vulkan-loader (1.2.196-r0) 08:42:05 (60/74) Installing libwebp (1.2.2-r0) 08:42:05 (61/74) Installing x264-libs (20210613-r0) 08:42:05 (62/74) Installing x265-libs (3.5-r0) 08:42:05 (63/74) Installing xvidcore (1.3.7-r1) 08:42:05 (64/74) Installing ffmpeg-libs (4.4.1-r2) 08:42:05 (65/74) Installing ffmpeg (4.4.1-r2) 08:42:05 (66/74) Installing udev-init-scripts (35-r0) 08:42:05 Executing udev-init-scripts-35-r0.post-install 08:42:05 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 08:42:05 (68/74) Installing xz-libs (5.2.5-r1) 08:42:05 (69/74) Installing zstd-libs (1.5.0-r0) 08:42:05 (70/74) Installing kmod-libs (29-r2) 08:42:05 (71/74) Installing eudev (3.2.11_pre1-r0) 08:42:05 (72/74) Installing libsodium (1.0.18-r0) 08:42:05 (73/74) Installing libzmq (4.3.4-r0) 08:42:05 (74/74) Installing zeromq (4.3.4-r0) 08:42:05 Executing busybox-1.34.1-r5.trigger 08:42:05 Executing eudev-3.2.11_pre1-r0.trigger 08:42:05 OK: 78 MiB in 88 packages 08:42:06 Removing intermediate container 3c2b1308dc2a 08:42:06 ---> 1ee8dcdfbc81 08:42:06 Step 17/29 : WORKDIR / 08:42:06 ---> Running in 2dde8e0664fd 08:42:07 Removing intermediate container 2dde8e0664fd 08:42:07 ---> 139df6822b97 08:42:07 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 08:42:07 ---> 113f61c18a67 08:42:07 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 08:42:07 ---> b40c8fed1efc 08:42:07 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 08:42:08 ---> d48e75b5755a 08:42:08 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 08:42:08 ---> 5d4b3eb08d6b 08:42:08 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 08:42:08 ---> ef3ca80257f0 08:42:08 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 08:42:08 ---> 4b94b18ff966 08:42:08 Step 24/29 : EXPOSE 59983 08:42:08 ---> Running in bdd8115c8ae5 08:42:09 Removing intermediate container bdd8115c8ae5 08:42:09 ---> 5b67655cc963 08:42:09 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 08:42:09 ---> Running in 4caf0da1f5fe 08:42:09 Removing intermediate container 4caf0da1f5fe 08:42:09 ---> 6088524b3d8b 08:42:09 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 08:42:09 ---> Running in 34476018d857 08:42:09 Removing intermediate container 34476018d857 08:42:09 ---> aa8f4cca1edc 08:42:09 Step 27/29 : LABEL arch=amd64 08:42:09 ---> Running in 013b4ec1d879 08:42:09 Removing intermediate container 013b4ec1d879 08:42:09 ---> c9c8f8eff65e 08:42:09 Step 28/29 : LABEL git_sha=9d425a122fc8d93ed8c47b9571e6ceae85e14b67 08:42:09 ---> Running in 7f89de2d912e 08:42:09 Removing intermediate container 7f89de2d912e 08:42:09 ---> 922e4ff66b2c 08:42:09 Step 29/29 : LABEL version=0.0.0 08:42:09 ---> Running in 69932531d8c8 08:42:10 Removing intermediate container 69932531d8c8 08:42:10 ---> a78b071beff9 08:42:10 [Warning] One or more build-args [ARCH] were not consumed 08:42:10 Successfully built a78b071beff9 08:42:10 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:42:10 08:42:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:42:10 latest: Pulling from edgex-lftools-log-publisher 08:42:10 5eb5b503b376: Pulling fs layer 08:42:10 5c69ac0246d0: Pulling fs layer 08:42:10 ec43610c2a17: Pulling fs layer 08:42:10 3a2ae6a8a46f: Pulling fs layer 08:42:10 33b1e0a273af: Pulling fs layer 08:42:10 5d3b04190fa2: Pulling fs layer 08:42:10 2f39f015ded8: Pulling fs layer 08:42:10 3a2ae6a8a46f: Waiting 08:42:10 33b1e0a273af: Waiting 08:42:10 5d3b04190fa2: Waiting 08:42:10 2f39f015ded8: Waiting 08:42:10 5c69ac0246d0: Verifying Checksum 08:42:10 5c69ac0246d0: Download complete 08:42:10 3a2ae6a8a46f: Verifying Checksum 08:42:10 3a2ae6a8a46f: Download complete 08:42:10 33b1e0a273af: Verifying Checksum 08:42:10 33b1e0a273af: Download complete 08:42:11 5d3b04190fa2: Verifying Checksum 08:42:11 5d3b04190fa2: Download complete 08:42:11 ec43610c2a17: Download complete 08:42:11 5eb5b503b376: Verifying Checksum 08:42:11 5eb5b503b376: Download complete 08:42:11 2f39f015ded8: Download complete 08:42:12 5eb5b503b376: Pull complete 08:42:12 5c69ac0246d0: Pull complete 08:42:12 ec43610c2a17: Pull complete 08:42:12 3a2ae6a8a46f: Pull complete 08:42:13 33b1e0a273af: Pull complete 08:42:13 5d3b04190fa2: Pull complete 08:42:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 08:42:17 Running in /w/workspace/device-usb-camera/9 [Pipeline] { [Pipeline] checkout 08:42:17 Selected Git installation does not exist. Using Default 08:42:17 The recommended git tool is: NONE 08:42:17 2f39f015ded8: Pull complete 08:42:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:42:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:42:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:17 prd-ubuntu20.04-docker-8c-8g-43 does not seem to be running inside a container 08:42:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:42:20 $ docker top d3e55825c7d20a4889f870befcd340052aaa6e0ee81ef4f0a846913ced1694bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:42:20 ---> job-cost.sh 08:42:20 lf-activate-venv: SKIPPING 08:42:20 INFO: No Stack... 08:42:21 INFO: Retrieving Pricing Info for: v3-standard-8 08:42:21 INFO: Archiving Costs [Pipeline] sh 08:42:21 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 08:42:21 + cut -d, -f6 [Pipeline] lock 08:42:21 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-9-stack-cost] 08:42:21 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-9-stack-cost] did not exist. Created. 08:42:21 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:42:22 using credential edgex-jenkins-ssh 08:42:22 Cloning the remote Git repository 08:42:22 + echo total: 0.2199999988079071 [Pipeline] stash 08:42:22 Stashed 1 file(s) [Pipeline] } 08:42:22 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-9-stack-cost] [Pipeline] // lock [Pipeline] } 08:42:22 $ docker stop --time=1 d3e55825c7d20a4889f870befcd340052aaa6e0ee81ef4f0a846913ced1694bd 08:42:22 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 08:42:22 > git init /w/workspace/device-usb-camera/9 # timeout=10 08:42:22 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 08:42:22 > git --version # timeout=10 08:42:22 > git --version # 'git version 2.25.1' 08:42:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:42:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:42:23 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 08:42:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:42:23 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 08:42:23 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 08:42:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:42:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:42:23 $ docker rm -f d3e55825c7d20a4889f870befcd340052aaa6e0ee81ef4f0a846913ced1694bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:42:23 Merging remotes/origin/main commit f39f8737115c4aee3eed177658c873badef7abfd into PR head commit 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 08:42:24 Merge succeeded, producing 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 08:42:24 Checking out Revision 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 (PR-30) 08:42:23 > git config core.sparsecheckout # timeout=10 08:42:23 > git checkout -f 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 # timeout=10 08:42:23 > git remote # timeout=10 08:42:23 > git config --get remote.origin.url # timeout=10 08:42:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:42:23 > git merge f39f8737115c4aee3eed177658c873badef7abfd # timeout=10 08:42:24 > git rev-parse HEAD^{commit} # timeout=10 08:42:24 > git config core.sparsecheckout # timeout=10 08:42:24 > git checkout -f 9d425a122fc8d93ed8c47b9571e6ceae85e14b67 # timeout=10 08:42:28 Commit message: "Merge remote-tracking branch 'upstream/main' into snap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:42:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:42:29 % Total % Received % Xferd Average Speed Time Time Time Current 08:42:29 Dload Upload Total Spent Left Speed 08:42:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 43760 0 --:--:-- --:--:-- --:--:-- 43604 [Pipeline] sh 08:42:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:42:30 + sudo tee /etc/docker/daemon.new 08:42:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:42:30 { 08:42:30 "registry-mirrors": [ 08:42:30 "https://nexus3.edgexfoundry.org:10001" 08:42:30 ], 08:42:30 "bip": "10.250.0.254/24", 08:42:30 "hosts": [ 08:42:30 "tcp://0.0.0.0:5555", 08:42:30 "unix:///var/run/docker.sock" 08:42:30 ], 08:42:30 "mtu": 1458, 08:42:30 "selinux-enabled": true, 08:42:30 "seccomp-profile": "/etc/docker/seccomp.json" 08:42:30 } [Pipeline] sh 08:42:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:42:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:42:49 provisioning config files... 08:42:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/9@tmp/config4355883046106217782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:42:49 ---> docker-login.sh 08:42:49 nexus3.edgexfoundry.org:10001 08:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:50 Configure a credential helper to remove this warning. See 08:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:50 08:42:50 Login Succeeded 08:42:50 nexus3.edgexfoundry.org:10002 08:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:51 Configure a credential helper to remove this warning. See 08:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:51 08:42:51 Login Succeeded 08:42:51 nexus3.edgexfoundry.org:10003 08:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:51 Configure a credential helper to remove this warning. See 08:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:51 08:42:51 Login Succeeded 08:42:51 nexus3.edgexfoundry.org:10004 08:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:52 Configure a credential helper to remove this warning. See 08:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:52 08:42:52 Login Succeeded 08:42:52 docker.io 08:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:52 Configure a credential helper to remove this warning. See 08:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:52 08:42:52 Login Succeeded 08:42:52 ---> docker-login.sh ends [Pipeline] } 08:42:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:42:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:42:52 ========================================================= 08:42:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:42:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:53 + 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:42:53 Sending build context to Docker daemon 579.6kB 08:42:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:42:53 Step 2/12 : FROM ${BASE} AS builder 08:42:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:42:53 9b3977197b4f: Pulling fs layer 08:42:53 1a89e8eeedd5: Pulling fs layer 08:42:53 94645a83ff95: Pulling fs layer 08:42:53 3f3a8bcf1eab: Pulling fs layer 08:42:53 0c92f367c5e7: Pulling fs layer 08:42:53 3096ccb668a1: Pulling fs layer 08:42:53 e8cf19c19ddd: Pulling fs layer 08:42:53 a4caa8a26152: Pulling fs layer 08:42:53 3f3a8bcf1eab: Waiting 08:42:53 0c92f367c5e7: Waiting 08:42:53 3096ccb668a1: Waiting 08:42:53 e8cf19c19ddd: Waiting 08:42:53 a4caa8a26152: Waiting 08:42:53 94645a83ff95: Download complete 08:42:53 1a89e8eeedd5: Verifying Checksum 08:42:53 1a89e8eeedd5: Download complete 08:42:53 0c92f367c5e7: Verifying Checksum 08:42:53 0c92f367c5e7: Download complete 08:42:53 9b3977197b4f: Download complete 08:42:53 e8cf19c19ddd: Verifying Checksum 08:42:53 e8cf19c19ddd: Download complete 08:42:54 9b3977197b4f: Pull complete 08:42:55 1a89e8eeedd5: Pull complete 08:42:55 94645a83ff95: Pull complete 08:42:55 a4caa8a26152: Verifying Checksum 08:42:55 a4caa8a26152: Download complete 08:42:56 3f3a8bcf1eab: Verifying Checksum 08:42:56 3f3a8bcf1eab: Download complete 08:43:08 3f3a8bcf1eab: Pull complete 08:43:08 0c92f367c5e7: Pull complete 08:43:08 3096ccb668a1: Pull complete 08:43:08 e8cf19c19ddd: Pull complete 08:43:15 a4caa8a26152: Pull complete 08:43:15 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:43:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:43:15 ---> 725f1c02e7f9 08:43:15 Step 3/12 : ARG MAKE="make build" 08:43:16 ---> Running in 212a97f93f96 08:43:16 Removing intermediate container 212a97f93f96 08:43:16 ---> 762d1b8a5d0f 08:43:16 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:43:16 ---> Running in ace5a6f01251 08:43:17 Removing intermediate container ace5a6f01251 08:43:17 ---> b2809484eb13 08:43:17 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:43:17 ---> Running in fe37a1b56b47 08:43:17 Removing intermediate container fe37a1b56b47 08:43:17 ---> b28fd257ea5f 08:43:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:43:17 ---> Running in 0cb59c053768 08:43:19 Removing intermediate container 0cb59c053768 08:43:19 ---> 291f32b5e942 08:43:19 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:43:19 ---> Running in 24947e67c662 08:43:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:43:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:43:22 (1/14) Installing libintl (0.21-r0) 08:43:22 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 08:43:22 (3/14) Installing libjpeg-turbo (2.1.2-r0) 08:43:22 (4/14) Installing v4l-utils-libs (1.22.1-r1) 08:43:22 (5/14) Installing v4l-utils (1.22.1-r1) 08:43:22 (6/14) Installing udev-init-scripts (35-r0) 08:43:22 Executing udev-init-scripts-35-r0.post-install 08:43:22 (7/14) Installing libblkid (2.37.4-r0) 08:43:22 (8/14) Installing xz-libs (5.2.5-r1) 08:43:23 (9/14) Installing zstd-libs (1.5.0-r0) 08:43:23 (10/14) Installing kmod-libs (29-r2) 08:43:23 (11/14) Installing eudev (3.2.11_pre1-r0) 08:43:23 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 08:43:23 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 08:43:23 (14/14) Installing v4l-utils-dev (1.22.1-r1) 08:43:23 Executing busybox-1.34.1-r3.trigger 08:43:23 Executing eudev-3.2.11_pre1-r0.trigger 08:43:23 OK: 227 MiB in 66 packages 08:43:24 Removing intermediate container 24947e67c662 08:43:24 ---> b9cecfc39960 08:43:24 Step 8/12 : WORKDIR /device-usb-camera 08:43:24 ---> Running in 45932d8c4891 08:43:25 Removing intermediate container 45932d8c4891 08:43:25 ---> aeeac2e02927 08:43:25 Step 9/12 : COPY go.mod vendor* ./ 08:43:25 ---> 0c5dfbbcc49a 08:43:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:43:25 ---> Running in 96ba0c2239f5 08:44:12 Removing intermediate container 96ba0c2239f5 08:44:12 ---> e9b25922bcfb 08:44:12 Step 11/12 : COPY . . 08:44:12 ---> 0f26e471c481 08:44:12 Step 12/12 : RUN ${MAKE} 08:44:12 ---> Running in 0f3824f53ee8 08:44:12 noop 08:44:12 Removing intermediate container 0f3824f53ee8 08:44:12 ---> ef32839ddd46 08:44:12 Successfully built ef32839ddd46 08:44:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:13 + docker inspect -f . ci-base-image-arm64 08:44:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:13 prd-ubuntu20.04-docker-arm64-4c-16g-44 does not seem to be running inside a container 08:44:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/9 -v /w/workspace/device-usb-camera/9:/w/workspace/device-usb-camera/9:rw,z -v /w/workspace/device-usb-camera/9@tmp:/w/workspace/device-usb-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:44:14 $ docker top 6fc89daf97e6d1cf309848c4036692f61ea15ed868a228bca1bd27a7ddac1879 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:15 + go version 08:44:15 go version go1.17.6 linux/arm64 [Pipeline] } 08:44:15 $ docker stop --time=1 6fc89daf97e6d1cf309848c4036692f61ea15ed868a228bca1bd27a7ddac1879 08:44:17 $ docker rm -f 6fc89daf97e6d1cf309848c4036692f61ea15ed868a228bca1bd27a7ddac1879 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:18 + docker inspect -f . ci-base-image-arm64 08:44:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:18 prd-ubuntu20.04-docker-arm64-4c-16g-44 does not seem to be running inside a container 08:44:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/9 -v /w/workspace/device-usb-camera/9:/w/workspace/device-usb-camera/9:rw,z -v /w/workspace/device-usb-camera/9@tmp:/w/workspace/device-usb-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:44:19 $ docker top 33c6b674b4335b7c4280e3d0a734a63179fcaf881550d3813af94e54906caa0f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:44:20 + make test 08:44:20 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 08:44:22 ? github.com/edgexfoundry/device-usb-camera [no test files] 08:45:43 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 08:45:43 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 08:45:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:45:43 CGO_ENABLED=1 go vet ./... 08:46:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:46:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:46:06 ./bin/test-attribution-txt.sh [Pipeline] echo 08:46:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:46:08 $ docker stop --time=1 33c6b674b4335b7c4280e3d0a734a63179fcaf881550d3813af94e54906caa0f 08:46:10 $ docker rm -f 33c6b674b4335b7c4280e3d0a734a63179fcaf881550d3813af94e54906caa0f [Pipeline] // withDockerContainer [Pipeline] sh 08:46:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:46:11 Warning: overwriting stash ‘coverage-report’ 08:46:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:46:12 + ls -al . 08:46:12 total 164 08:46:12 drwxrwxr-x 9 jenkins jenkins 4096 May 25 08:46 . 08:46:12 drwxrwxr-x 4 jenkins jenkins 4096 May 25 08:42 .. 08:46:12 drwxrwxr-x 8 jenkins jenkins 4096 May 25 08:42 .git 08:46:12 drwxrwxr-x 2 jenkins jenkins 4096 May 25 08:42 .github 08:46:12 -rw-rw-r-- 1 jenkins jenkins 414 May 25 08:42 .gitignore 08:46:12 -rw-rw-r-- 1 jenkins jenkins 42 May 25 08:42 .golangci.yml 08:46:12 -rw-rw-r-- 1 jenkins jenkins 77 May 25 08:42 .hadolint.yml 08:46:12 -rw-rw-r-- 1 jenkins jenkins 8706 May 25 08:42 Attribution.txt 08:46:12 -rw-rw-r-- 1 jenkins jenkins 181 May 25 08:42 CHANGELOG.md 08:46:12 -rw-rw-r-- 1 jenkins jenkins 1891 May 25 08:42 Dockerfile 08:46:12 -rw-rw-r-- 1 jenkins jenkins 678 May 25 08:42 GOVERNANCE.md 08:46:12 -rw-rw-r-- 1 jenkins jenkins 659 May 25 08:42 Jenkinsfile 08:46:12 -rw-rw-r-- 1 jenkins jenkins 11348 May 25 08:42 LICENSE 08:46:12 -rw-rw-r-- 1 jenkins jenkins 2345 May 25 08:42 Makefile 08:46:12 -rw-rw-r-- 1 jenkins jenkins 622 May 25 08:42 OWNERS.md 08:46:12 -rw-rw-r-- 1 jenkins jenkins 8912 May 25 08:42 README.md 08:46:12 -rw-rw-r-- 1 jenkins jenkins 5 May 25 08:40 VERSION 08:46:12 drwxrwxr-x 2 jenkins jenkins 4096 May 25 08:42 bin 08:46:12 drwxrwxr-x 3 jenkins jenkins 4096 May 25 08:42 cmd 08:46:12 -rw-r--r-- 1 jenkins jenkins 10 May 25 08:44 coverage.out 08:46:12 drwxrwxr-x 2 jenkins jenkins 4096 May 25 08:42 docker-compose 08:46:12 -rw-rw-r-- 1 jenkins jenkins 140 May 25 08:42 docker-entrypoint.sh 08:46:12 -rw-rw-r-- 1 jenkins jenkins 3307 May 25 08:42 go.mod 08:46:12 -rw-rw-r-- 1 jenkins jenkins 35656 May 25 08:42 go.sum 08:46:12 drwxrwxr-x 3 jenkins jenkins 4096 May 25 08:42 internal 08:46:12 drwxrwxr-x 3 jenkins jenkins 4096 May 25 08:42 snap 08:46:12 -rw-rw-r-- 1 jenkins jenkins 231 May 25 08:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:13 + 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=9d425a122fc8d93ed8c47b9571e6ceae85e14b67 --label arch=arm64 --label version=0.0.0 . 08:46:13 Sending build context to Docker daemon 580.6kB 08:46:13 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 08:46:13 Step 2/29 : FROM ${BASE} AS builder 08:46:13 ---> ef32839ddd46 08:46:13 Step 3/29 : ARG MAKE="make build" 08:46:13 ---> Running in cbde3e997508 08:46:13 Removing intermediate container cbde3e997508 08:46:13 ---> a93e02d5d887 08:46:13 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:46:13 ---> Running in a9a3b0c3aeca 08:46:14 Removing intermediate container a9a3b0c3aeca 08:46:14 ---> 7a9878199fb8 08:46:14 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:46:14 ---> Running in 15ffe7f67214 08:46:14 Removing intermediate container 15ffe7f67214 08:46:14 ---> f5d135d4de90 08:46:14 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:46:14 ---> Running in 1c0f903fb47f 08:46:16 Removing intermediate container 1c0f903fb47f 08:46:16 ---> 93605d69eb32 08:46:16 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:46:16 ---> Running in 62289290ec32 08:46:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:46:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:46:19 OK: 227 MiB in 66 packages 08:46:20 Removing intermediate container 62289290ec32 08:46:20 ---> e586544d6161 08:46:20 Step 8/29 : WORKDIR /device-usb-camera 08:46:20 ---> Running in c4b03b83f10f 08:46:20 Removing intermediate container c4b03b83f10f 08:46:20 ---> affa52c4547c 08:46:20 Step 9/29 : COPY go.mod vendor* ./ 08:46:20 ---> eabe55e96087 08:46:20 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:46:20 ---> Running in c0d0f8cb0412 08:46:22 Removing intermediate container c0d0f8cb0412 08:46:22 ---> b74c2c4ba4d1 08:46:22 Step 11/29 : COPY . . 08:46:23 ---> 40ffc2ff2019 08:46:23 Step 12/29 : RUN ${MAKE} 08:46:23 ---> Running in e90265a05017 08:46:24 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 08:48:31 Removing intermediate container e90265a05017 08:48:31 ---> 3b99dd42f52b 08:48:31 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 08:48:31 v0.18.4: Pulling from aler9/rtsp-simple-server 08:48:31 eab2503cf8f4: Pulling fs layer 08:48:31 97cd0a44c592: Pulling fs layer 08:48:31 97cd0a44c592: Download complete 08:48:31 eab2503cf8f4: Verifying Checksum 08:48:31 eab2503cf8f4: Download complete 08:48:31 eab2503cf8f4: Pull complete 08:48:31 97cd0a44c592: Pull complete 08:48:31 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 08:48:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 08:48:31 ---> 7f763cca56b3 08:48:31 Step 14/29 : FROM alpine:3.15 08:48:31 3.15: Pulling from library/alpine 08:48:31 9981e73032c8: Pulling fs layer 08:48:31 9981e73032c8: Download complete 08:48:31 9981e73032c8: Pull complete 08:48:31 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:48:31 Status: Downloaded newer image for alpine:3.15 08:48:31 ---> 3fb3c9af89a9 08:48:31 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:48:31 ---> Running in 23db48597612 08:48:31 Removing intermediate container 23db48597612 08:48:31 ---> c3c42eebb89c 08:48:31 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 08:48:31 ---> Running in 70971b852c89 08:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:48:31 (1/73) Installing dumb-init (1.2.5-r1) 08:48:31 (2/73) Installing sdl2 (2.0.16-r4) 08:48:31 (3/73) Installing libxau (1.0.9-r0) 08:48:31 (4/73) Installing libmd (1.0.3-r0) 08:48:31 (5/73) Installing libbsd (0.11.3-r1) 08:48:31 (6/73) Installing libxdmcp (1.1.3-r0) 08:48:31 (7/73) Installing libxcb (1.14-r2) 08:48:31 (8/73) Installing libx11 (1.7.2-r0) 08:48:31 (9/73) Installing aom-libs (3.2.0-r0) 08:48:31 (10/73) Installing alsa-lib (1.2.5.1-r1) 08:48:31 (11/73) Installing expat (2.4.7-r0) 08:48:31 (12/73) Installing brotli-libs (1.0.9-r5) 08:48:31 (13/73) Installing libbz2 (1.0.8-r1) 08:48:31 (14/73) Installing libpng (1.6.37-r1) 08:48:31 (15/73) Installing freetype (2.11.1-r2) 08:48:31 (16/73) Installing libuuid (2.37.4-r0) 08:48:31 (17/73) Installing fontconfig (2.13.1-r4) 08:48:31 (18/73) Installing fribidi (1.0.11-r0) 08:48:31 (19/73) Installing libffi (3.4.2-r1) 08:48:31 (20/73) Installing libintl (0.21-r0) 08:48:31 (21/73) Installing libblkid (2.37.4-r0) 08:48:31 (22/73) Installing libmount (2.37.4-r0) 08:48:31 (23/73) Installing pcre (8.45-r1) 08:48:31 (24/73) Installing glib (2.70.1-r0) 08:48:31 (25/73) Installing graphite2 (1.3.14-r0) 08:48:31 (26/73) Installing harfbuzz (3.0.0-r2) 08:48:31 (27/73) Installing libass (0.15.2-r0) 08:48:31 (28/73) Installing libdav1d (0.9.2-r0) 08:48:31 (29/73) Installing gmp (6.2.1-r1) 08:48:31 (30/73) Installing nettle (3.7.3-r0) 08:48:31 (31/73) Installing p11-kit (0.24.0-r1) 08:48:31 (32/73) Installing libtasn1 (4.18.0-r0) 08:48:31 (33/73) Installing libunistring (0.9.10-r1) 08:48:31 (34/73) Installing gnutls (3.7.1-r0) 08:48:31 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 08:48:31 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 08:48:31 (37/73) Installing lame (3.100-r0) 08:48:31 (38/73) Installing opus (1.3.1-r1) 08:48:31 (39/73) Installing libgomp (10.3.1_git20211027-r0) 08:48:31 (40/73) Installing soxr (0.1.3-r2) 08:48:31 (41/73) Installing libgcc (10.3.1_git20211027-r0) 08:48:31 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 08:48:31 (43/73) Installing libsrt (1.4.2-r1) 08:48:31 (44/73) Installing libssh (0.9.6-r1) 08:48:31 (45/73) Installing libogg (1.3.5-r0) 08:48:31 (46/73) Installing libtheora (1.1.1-r16) 08:48:31 (47/73) Installing libjpeg-turbo (2.1.2-r0) 08:48:31 (48/73) Installing v4l-utils-libs (1.22.1-r1) 08:48:31 (49/73) Installing libxext (1.3.4-r0) 08:48:31 (50/73) Installing libxfixes (6.0.0-r0) 08:48:31 (51/73) Installing libdrm (2.4.109-r0) 08:48:31 (52/73) Installing wayland-libs-client (1.19.0-r1) 08:48:31 (53/73) Installing libva (2.13.0-r0) 08:48:31 (54/73) Installing libvdpau (1.4-r0) 08:48:31 (55/73) Installing vidstab (1.1.0-r1) 08:48:31 (56/73) Installing libvorbis (1.3.7-r0) 08:48:31 (57/73) Installing libvpx (1.10.0-r0) 08:48:31 (58/73) Installing vulkan-loader (1.2.196-r0) 08:48:31 (59/73) Installing libwebp (1.2.2-r0) 08:48:31 (60/73) Installing x264-libs (20210613-r0) 08:48:31 (61/73) Installing x265-libs (3.5-r0) 08:48:31 (62/73) Installing xvidcore (1.3.7-r1) 08:48:31 (63/73) Installing ffmpeg-libs (4.4.1-r2) 08:48:31 (64/73) Installing ffmpeg (4.4.1-r2) 08:48:31 (65/73) Installing udev-init-scripts (35-r0) 08:48:31 Executing udev-init-scripts-35-r0.post-install 08:48:31 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 08:48:31 (67/73) Installing xz-libs (5.2.5-r1) 08:48:31 (68/73) Installing zstd-libs (1.5.0-r0) 08:48:31 (69/73) Installing kmod-libs (29-r2) 08:48:31 (70/73) Installing eudev (3.2.11_pre1-r0) 08:48:31 (71/73) Installing libsodium (1.0.18-r0) 08:48:31 (72/73) Installing libzmq (4.3.4-r0) 08:48:31 (73/73) Installing zeromq (4.3.4-r0) 08:48:31 Executing busybox-1.34.1-r5.trigger 08:48:31 Executing eudev-3.2.11_pre1-r0.trigger 08:48:31 OK: 67 MiB in 87 packages 08:48:31 Removing intermediate container 70971b852c89 08:48:31 ---> 923fee19dc72 08:48:31 Step 17/29 : WORKDIR / 08:48:31 ---> Running in 271942b2a439 08:48:31 Removing intermediate container 271942b2a439 08:48:31 ---> a3c49bd0849e 08:48:31 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 08:48:33 ---> 9f0e0d2efb88 08:48:33 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 08:48:33 ---> f9a2fc873692 08:48:33 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 08:48:34 ---> f124aabb1788 08:48:34 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 08:48:35 ---> 84b0e04cb50f 08:48:35 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 08:48:35 ---> 454df95b7c48 08:48:35 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 08:48:36 ---> 34f45733f67c 08:48:36 Step 24/29 : EXPOSE 59983 08:48:36 ---> Running in 2be20dcd6410 08:48:37 Removing intermediate container 2be20dcd6410 08:48:37 ---> 7dcc718d2c0d 08:48:37 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 08:48:37 ---> Running in 8fba8644eb9a 08:48:37 Removing intermediate container 8fba8644eb9a 08:48:37 ---> e1dd0c58bfff 08:48:37 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 08:48:37 ---> Running in 890190c13443 08:48:37 Removing intermediate container 890190c13443 08:48:37 ---> 9ffa4eb23354 08:48:37 Step 27/29 : LABEL arch=arm64 08:48:37 ---> Running in 964b41cb3712 08:48:38 Removing intermediate container 964b41cb3712 08:48:38 ---> dd31aa5822af 08:48:38 Step 28/29 : LABEL git_sha=9d425a122fc8d93ed8c47b9571e6ceae85e14b67 08:48:38 ---> Running in b4bcb08a6045 08:48:38 Removing intermediate container b4bcb08a6045 08:48:38 ---> 738b59f7e636 08:48:38 Step 29/29 : LABEL version=0.0.0 08:48:38 ---> Running in 6aacdb6cc0b1 08:48:38 Removing intermediate container 6aacdb6cc0b1 08:48:38 ---> 158a610adc1f 08:48:38 [Warning] One or more build-args [ARCH] were not consumed 08:48:38 Successfully built 158a610adc1f 08:48:38 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:48:39 08:48:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:48:39 arm64: Pulling from edgex-lftools-log-publisher 08:48:39 8998bd30e6a1: Pulling fs layer 08:48:39 04944245beec: Pulling fs layer 08:48:39 699f458cf7ca: Pulling fs layer 08:48:39 765212b225bb: Pulling fs layer 08:48:39 f23df028b6ca: Pulling fs layer 08:48:39 d65c8cfc05b1: Pulling fs layer 08:48:39 2437ff75d9bd: Pulling fs layer 08:48:39 765212b225bb: Waiting 08:48:39 f23df028b6ca: Waiting 08:48:39 d65c8cfc05b1: Waiting 08:48:39 2437ff75d9bd: Waiting 08:48:39 04944245beec: Verifying Checksum 08:48:39 04944245beec: Download complete 08:48:39 765212b225bb: Download complete 08:48:39 f23df028b6ca: Verifying Checksum 08:48:39 f23df028b6ca: Download complete 08:48:39 d65c8cfc05b1: Verifying Checksum 08:48:39 d65c8cfc05b1: Download complete 08:48:40 699f458cf7ca: Verifying Checksum 08:48:40 699f458cf7ca: Download complete 08:48:40 8998bd30e6a1: Download complete 08:48:42 2437ff75d9bd: Verifying Checksum 08:48:42 2437ff75d9bd: Download complete 08:48:45 8998bd30e6a1: Pull complete 08:48:45 04944245beec: Pull complete 08:48:46 699f458cf7ca: Pull complete 08:48:46 765212b225bb: Pull complete 08:48:47 f23df028b6ca: Pull complete 08:48:47 d65c8cfc05b1: Pull complete 08:49:02 2437ff75d9bd: Pull complete 08:49:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:49:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:49:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:03 prd-ubuntu20.04-docker-arm64-4c-16g-44 does not seem to be running inside a container 08:49:03 $ 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/9 -v /w/workspace/device-usb-camera/9:/w/workspace/device-usb-camera/9:rw,z -v /w/workspace/device-usb-camera/9@tmp:/w/workspace/device-usb-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:49:05 $ docker top 01eb6cb7ad4b93fd9337861011ef36a9807ae8cc37ae92f657f1dc15e9125cf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:49:06 ---> job-cost.sh 08:49:06 lf-activate-venv: SKIPPING 08:49:06 INFO: No Stack... 08:49:06 INFO: Retrieving Pricing Info for: v3-standard-4 08:49:07 INFO: Archiving Costs [Pipeline] sh 08:49:08 + cat /w/workspace/device-usb-camera/9/archives/cost.csv 08:49:08 + cut -d, -f6 [Pipeline] lock 08:49:08 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-9-stack-cost] 08:49:08 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-9-stack-cost] did not exist. Created. 08:49:08 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:49:09 /w/workspace/device-usb-camera/9@tmp/durable-0a4f83f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:49:10 + echo total: 0.10999999940395355 [Pipeline] stash 08:49:10 Warning: overwriting stash ‘stack-cost’ 08:49:10 Stashed 1 file(s) [Pipeline] } 08:49:10 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-9-stack-cost] [Pipeline] // lock [Pipeline] } 08:49:10 $ docker stop --time=1 01eb6cb7ad4b93fd9337861011ef36a9807ae8cc37ae92f657f1dc15e9125cf1 08:49:11 $ docker rm -f 01eb6cb7ad4b93fd9337861011ef36a9807ae8cc37ae92f657f1dc15e9125cf1 [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:49:12 provisioning config files... 08:49:12 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config7161539950146916092tmp [Pipeline] { [Pipeline] sh 08:49:12 + set +x 08:49:12 + curl -s https://codecov.io/bash 08:49:12 + bash -s -- 08:49:12 08:49:12 _____ _ 08:49:12 / ____| | | 08:49:12 | | ___ __| | ___ ___ _____ __ 08:49:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:49:12 | |___| (_) | (_| | __/ (_| (_) \ V / 08:49:12 \_____\___/ \__,_|\___|\___\___/ \_/ 08:49:12 Bash-1.0.6 08:49:12 08:49:12 08:49:12 ==> git version 2.25.1 found 08:49:12 ==> 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:49:12 Release-Date: 2020-01-08 08:49:12 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:49:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:49:12 ==> Jenkins CI detected. 08:49:12 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 08:49:12 project root: . 08:49:12 --> token set from env 08:49:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:49:12 ==> Running gcov in . (disable via -X gcov) 08:49:12 ==> Python coveragepy not found 08:49:12 ==> Searching for coverage reports in: 08:49:12 + . 08:49:12 -> Found 1 reports 08:49:12 ==> Detecting git/mercurial file structure 08:49:12 ==> Reading reports 08:49:12 + ./coverage.out bytes=10 08:49:12 ==> Appending adjustments 08:49:12 https://docs.codecov.io/docs/fixing-reports 08:49:12 + Found adjustments 08:49:12 ==> Gzipping contents 08:49:12 4.0K /tmp/codecov.LS5HC7.gz 08:49:12 ==> Uploading reports 08:49:12 url: https://codecov.io 08:49:12 query: branch=PR-30&commit=9d425a122fc8d93ed8c47b9571e6ceae85e14b67&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 08:49:12 -> Pinging Codecov 08:49:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=9d425a122fc8d93ed8c47b9571e6ceae85e14b67&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 08:49:12 -> Uploading to 08:49:12 https://storage.googleapis.com/codecov/v4/raw/2022-05-25/73D8F5FF140700D3E01443B452E23636/9d425a122fc8d93ed8c47b9571e6ceae85e14b67/6f57c64b-faf5-4846-9e8f-cfda80306868.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220525T084912Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89d43548e42a8731ad04d218f6dccae8f22a769ad50aa45d78750cc8be5e831c 08:49:12 % Total % Received % Xferd Average Speed Time Time Time Current 08:49:12 Dload Upload Total Spent Left Speed 08:49:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1841 0 0 100 1841 0 8004 --:--:-- --:--:-- --:--:-- 8004 08:49:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/9d425a122fc8d93ed8c47b9571e6ceae85e14b67 [Pipeline] } 08:49:13 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:49:13 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 08:49:13 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 08:49:13 total 16 08:49:13 drwxr-xr-x 3 root root 4096 May 25 08:42 . 08:49:13 drwxrwxr-x 11 jenkins jenkins 4096 May 25 08:42 .. 08:49:13 drwxr-xr-x 2 root root 4096 May 25 08:42 cost 08:49:13 -rw-r--r-- 1 root root 87 May 25 08:42 cost.csv 08:49:13 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 08:49:13 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 08:49:13 total 16 08:49:13 drwxr-xr-x 3 jenkins jenkins 4096 May 25 08:42 . 08:49:13 drwxrwxr-x 11 jenkins jenkins 4096 May 25 08:42 .. 08:49:13 drwxr-xr-x 2 jenkins jenkins 4096 May 25 08:42 cost 08:49:13 -rw-r--r-- 1 jenkins jenkins 87 May 25 08:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:49:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:49:15 ---> package-listing.sh 08:49:15 ++ tr '[:upper:]' '[:lower:]' 08:49:15 ++ facter osfamily 08:49:15 + OS_FAMILY=debian 08:49:15 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 08:49:15 + START_PACKAGES=/tmp/packages_start.txt 08:49:15 + END_PACKAGES=/tmp/packages_end.txt 08:49:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:49:15 + PACKAGES=/tmp/packages_start.txt 08:49:15 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 08:49:15 + PACKAGES=/tmp/packages_end.txt 08:49:15 + case "${OS_FAMILY}" in 08:49:15 + dpkg -l 08:49:15 + grep '^ii' 08:49:15 + '[' -f /tmp/packages_start.txt ']' 08:49:15 + '[' -f /tmp/packages_end.txt ']' 08:49:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:49:15 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 08:49:15 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 08:49:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo 08:49:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:49:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:49:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:16 prd-ubuntu20.04-docker-8c-8g-43 does not seem to be running inside a container 08:49:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:49:16 $ docker top a6597d5e8c424e77d74df318960438fbd47a90e7213c11db5859e1e8a3b8ef21 -eo pid,comm [Pipeline] { [Pipeline] sh 08:49:16 + touch /tmp/pre-build-complete [Pipeline] sh 08:49:17 + mkdir -p /var/log/sysstat [Pipeline] sh 08:49:17 + ls /var/log/sa-host 08:49:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:49:17 provisioning config files... 08:49:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config5113772048312162948tmp [Pipeline] { [Pipeline] echo 08:49:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:49:17 ---> create-netrc.sh [Pipeline] } 08:49:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:49:18 ---> python-tools-install.sh [Pipeline] echo 08:49:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:49:18 ---> sudo-logs.sh 08:49:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:49:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:49:18 ---> job-cost.sh 08:49:18 lf-activate-venv: SKIPPING 08:49:18 DEBUG: total: 0.2199999988079071 08:49:18 INFO: Retrieving Stack Cost... 08:49:19 INFO: Retrieving Pricing Info for: v3-standard-8 08:49:19 INFO: Archiving Costs [Pipeline] echo 08:49:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:49:20 ---> logs-deploy.sh 08:49:20 lf-activate-venv: SKIPPING 08:49:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/9 08:49:20 INFO: archiving workspace using pattern(s): 08:49:21 Archives upload complete. 08:49:21 INFO: archiving logs to Nexus