Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5487d09fec3d387f0df10ae8cf4872c9ea9092c4+e6cf2f2f80d14c6ff357eccb58ac1fd20041715b (7c3b0200e19da0f3839624be3397b8b02886d0cb) 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-ssh9830406716423260385.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh14621411513918152839.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8027387129348005032.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh6007689657151933696.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8954874019597688101.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7393 in /w/workspace/xfoundry_device-usb-camera_PR-99 [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-99 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e6cf2f2f80d14c6ff357eccb58ac1fd20041715b into PR head commit 5487d09fec3d387f0df10ae8cf4872c9ea9092c4 Merge succeeded, producing bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 Checking out Revision bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 (PR-99) > git config core.sparsecheckout # timeout=10 > git checkout -f 5487d09fec3d387f0df10ae8cf4872c9ea9092c4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e6cf2f2f80d14c6ff357eccb58ac1fd20041715b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 # timeout=10 Commit message: "Merge commit 'e6cf2f2f80d14c6ff357eccb58ac1fd20041715b' into HEAD" > git rev-list --no-walk 5487d09fec3d387f0df10ae8cf4872c9ea9092c4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:30 ========================================================= 06:15:30 EdgeX Global Pipelines Version Info 06:15:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:31 ------------------- 06:15:31 stable info: 06:15:31 ------------------- 06:15:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:15:31 Message: update stable to v1.0.239 06:15:31 ------------------- 06:15:31 experimental info: 06:15:31 ------------------- 06:15:31 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:15:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:15:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:15:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:15:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 06:15:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 06:15:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 06:15:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 [Pipeline] echo 06:15:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bca6a8b [Pipeline] echo 06:15:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:32 provisioning config files... 06:15:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config16763091139986046982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:32 ---> docker-login.sh 06:15:32 nexus3.edgexfoundry.org:10001 06:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:33 Configure a credential helper to remove this warning. See 06:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:33 06:15:33 Login Succeeded 06:15:33 nexus3.edgexfoundry.org:10002 06:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:33 Configure a credential helper to remove this warning. See 06:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:33 06:15:33 Login Succeeded 06:15:33 nexus3.edgexfoundry.org:10003 06:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:33 Configure a credential helper to remove this warning. See 06:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:33 06:15:33 Login Succeeded 06:15:33 nexus3.edgexfoundry.org:10004 06:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:33 Configure a credential helper to remove this warning. See 06:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:33 06:15:33 Login Succeeded 06:15:33 docker.io 06:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:34 Configure a credential helper to remove this warning. See 06:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:34 06:15:34 Login Succeeded 06:15:34 ---> docker-login.sh ends [Pipeline] } 06:15:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:15:34 + git rev-list -1 --merges bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733~1..bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 [Pipeline] echo 06:15:34 -----------> git rev-list -1 --merges bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733~1..bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 06:15:34 bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 [false] [Pipeline] sh 06:15:34 + git log --format=format:%s -1 bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 [Pipeline] echo 06:15:34 ========================================================= 06:15:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:15:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:35 + git log --format=format:%s -1 bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733 [Pipeline] echo 06:15:35 [semverPrep] GIT_COMMIT: bca6a8b406ac8cb9365b44cbde4aaa8c2d7b1733, Commit Message: Merge commit 'e6cf2f2f80d14c6ff357eccb58ac1fd20041715b' into HEAD [Pipeline] echo 06:15:35 [semverPrep] This is not a build commit. [Pipeline] sh 06:15:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:35 + grep -v github /etc/ssh/ssh_known_hosts 06:15:35 + [ -e /tmp/ssh_known_hosts ] 06:15:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:15:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:15:35 + sudo tee -a /etc/ssh/ssh_known_hosts 06:15:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:36 06:15:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:36 0.1.4: Pulling from edgex-devops/py-git-semver 06:15:36 b85a868b505f: Pulling fs layer 06:15:36 e2be974225ed: Pulling fs layer 06:15:36 339a4e72a1f5: Pulling fs layer 06:15:36 988bab9f4d93: Pulling fs layer 06:15:36 1469e6f7b9e6: Pulling fs layer 06:15:36 988bab9f4d93: Waiting 06:15:36 eaf3925da568: Pulling fs layer 06:15:36 bab4dde63d76: Pulling fs layer 06:15:36 1469e6f7b9e6: Waiting 06:15:36 eaf3925da568: Waiting 06:15:36 bab4dde63d76: Waiting 06:15:36 bde34c3a00c8: Pulling fs layer 06:15:36 b352a97aabf1: Pulling fs layer 06:15:36 4872d77fe225: Pulling fs layer 06:15:36 5851b861e8e6: Pulling fs layer 06:15:36 bde34c3a00c8: Waiting 06:15:36 4872d77fe225: Waiting 06:15:36 b352a97aabf1: Waiting 06:15:36 5851b861e8e6: Waiting 06:15:36 e2be974225ed: Download complete 06:15:36 988bab9f4d93: Download complete 06:15:36 1469e6f7b9e6: Verifying Checksum 06:15:36 1469e6f7b9e6: Download complete 06:15:36 339a4e72a1f5: Verifying Checksum 06:15:36 339a4e72a1f5: Download complete 06:15:36 eaf3925da568: Verifying Checksum 06:15:36 eaf3925da568: Download complete 06:15:36 bde34c3a00c8: Download complete 06:15:36 b352a97aabf1: Verifying Checksum 06:15:36 b352a97aabf1: Download complete 06:15:36 4872d77fe225: Verifying Checksum 06:15:36 4872d77fe225: Download complete 06:15:36 5851b861e8e6: Verifying Checksum 06:15:36 5851b861e8e6: Download complete 06:15:36 b85a868b505f: Verifying Checksum 06:15:36 b85a868b505f: Download complete 06:15:37 bab4dde63d76: Verifying Checksum 06:15:38 b85a868b505f: Pull complete 06:15:38 e2be974225ed: Pull complete 06:15:38 339a4e72a1f5: Pull complete 06:15:38 988bab9f4d93: Pull complete 06:15:39 1469e6f7b9e6: Pull complete 06:15:39 eaf3925da568: Pull complete 06:15:41 bab4dde63d76: Pull complete 06:15:41 bde34c3a00c8: Pull complete 06:15:41 b352a97aabf1: Pull complete 06:15:41 4872d77fe225: Pull complete 06:15:41 5851b861e8e6: Pull complete 06:15:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:15:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:41 prd-ubuntu20.04-docker-8c-8g-7393 does not seem to be running inside a container 06:15:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:15:44 $ docker top 2ff5d99f59e43ba6f8c8457c023f86c53875eaad6c6848c6ec80be6b681e2c11 -eo pid,comm 06:15:44 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). 06:15:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:45 [ssh-agent] Looking for ssh-agent implementation... 06:15:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:45 $ docker exec 2ff5d99f59e43ba6f8c8457c023f86c53875eaad6c6848c6ec80be6b681e2c11 ssh-agent 06:15:45 SSH_AUTH_SOCK=/tmp/ssh-KqwZPc1hT0J7/agent.32 06:15:45 SSH_AGENT_PID=38 06:15:45 Running ssh-add (command line suppressed) 06:15:45 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_717835738826263318.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_717835738826263318.key) 06:15:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:45 + git tag --points-at HEAD [Pipeline] } 06:15:45 $ docker exec --env ******** --env ******** 2ff5d99f59e43ba6f8c8457c023f86c53875eaad6c6848c6ec80be6b681e2c11 ssh-agent -k 06:15:45 unset SSH_AUTH_SOCK; 06:15:45 unset SSH_AGENT_PID; 06:15:45 echo Agent pid 38 killed; 06:15:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:45 [ssh-agent] Looking for ssh-agent implementation... 06:15:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:45 $ docker exec 2ff5d99f59e43ba6f8c8457c023f86c53875eaad6c6848c6ec80be6b681e2c11 ssh-agent 06:15:46 SSH_AUTH_SOCK=/tmp/ssh-ibd3kaCat29t/agent.70 06:15:46 SSH_AGENT_PID=76 06:15:46 Running ssh-add (command line suppressed) 06:15:46 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4583580839305632893.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4583580839305632893.key) 06:15:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:46 + git semver init 06:15:46 2022-10-08 06:15:46,736 [run_init] DEBUG init version:0.0.0 force:False 06:15:46 2022-10-08 06:15:46,736 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:15:46 2022-10-08 06:15:46,737 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:15:46 2022-10-08 06:15:46,737 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) 06:15:47 2022-10-08 06:15:47,542 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 06:15:47 2022-10-08 06:15:47,543 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False 06:15:47 2022-10-08 06:15:47,543 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:15:47 2022-10-08 06:15:47,547 [execute] INFO git cat-file --batch-check 06:15:47 2022-10-08 06:15:47,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 06:15:47 2022-10-08 06:15:47,554 [execute] INFO git cat-file --batch 06:15:47 2022-10-08 06:15:47,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 06:15:47 2022-10-08 06:15:47,559 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:15:47 0.0.0 [Pipeline] } 06:15:47 $ docker exec --env ******** --env ******** 2ff5d99f59e43ba6f8c8457c023f86c53875eaad6c6848c6ec80be6b681e2c11 ssh-agent -k 06:15:47 unset SSH_AUTH_SOCK; 06:15:47 unset SSH_AGENT_PID; 06:15:47 echo Agent pid 76 killed; 06:15:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:48 + git semver [Pipeline] } 06:15:48 $ docker stop --time=1 2ff5d99f59e43ba6f8c8457c023f86c53875eaad6c6848c6ec80be6b681e2c11 06:15:49 $ docker rm -f 2ff5d99f59e43ba6f8c8457c023f86c53875eaad6c6848c6ec80be6b681e2c11 [Pipeline] // withDockerContainer [Pipeline] sh 06:15:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:50 Stashed 1 file(s) [Pipeline] echo 06:15:50 [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 06:15:50 provisioning config files... 06:15:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config7769609527228720190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:50 ---> docker-login.sh 06:15:50 nexus3.edgexfoundry.org:10001 06:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:50 Configure a credential helper to remove this warning. See 06:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:50 06:15:50 Login Succeeded 06:15:50 nexus3.edgexfoundry.org:10002 06:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:50 Configure a credential helper to remove this warning. See 06:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:50 06:15:50 Login Succeeded 06:15:50 nexus3.edgexfoundry.org:10003 06:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:50 Configure a credential helper to remove this warning. See 06:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:50 06:15:50 Login Succeeded 06:15:50 nexus3.edgexfoundry.org:10004 06:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:50 Configure a credential helper to remove this warning. See 06:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:50 06:15:50 Login Succeeded 06:15:50 docker.io 06:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:51 Configure a credential helper to remove this warning. See 06:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:51 06:15:51 Login Succeeded 06:15:51 ---> docker-login.sh ends [Pipeline] } 06:15:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:51 ========================================================= 06:15:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:15:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:15:51 Sending build context to Docker daemon 1.504MB 06:15:51 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 06:15:51 Step 2/14 : FROM ${BASE} AS builder 06:15:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:51 2408cc74d12b: Pulling fs layer 06:15:51 ea60b727a1ce: Pulling fs layer 06:15:51 30c4a7721957: Pulling fs layer 06:15:51 370296b7ddb6: Pulling fs layer 06:15:51 7c6cee850709: Pulling fs layer 06:15:51 aa9baa53a306: Pulling fs layer 06:15:51 8b309c321861: Pulling fs layer 06:15:51 d8d76fd02f46: Pulling fs layer 06:15:51 fa31f396de31: Pulling fs layer 06:15:51 aa9baa53a306: Waiting 06:15:51 370296b7ddb6: Waiting 06:15:51 8b309c321861: Waiting 06:15:51 7c6cee850709: Waiting 06:15:51 d8d76fd02f46: Waiting 06:15:51 fa31f396de31: Waiting 06:15:51 30c4a7721957: Verifying Checksum 06:15:52 ea60b727a1ce: Verifying Checksum 06:15:52 ea60b727a1ce: Download complete 06:15:52 7c6cee850709: Verifying Checksum 06:15:52 7c6cee850709: Download complete 06:15:52 aa9baa53a306: Verifying Checksum 06:15:52 aa9baa53a306: Download complete 06:15:52 2408cc74d12b: Verifying Checksum 06:15:52 8b309c321861: Verifying Checksum 06:15:52 8b309c321861: Download complete 06:15:52 2408cc74d12b: Pull complete 06:15:52 ea60b727a1ce: Pull complete 06:15:52 30c4a7721957: Pull complete 06:15:52 fa31f396de31: Verifying Checksum 06:15:52 fa31f396de31: Download complete 06:15:52 d8d76fd02f46: Verifying Checksum 06:15:52 d8d76fd02f46: Download complete 06:15:53 370296b7ddb6: Verifying Checksum 06:15:53 370296b7ddb6: Download complete 06:15:57 370296b7ddb6: Pull complete 06:15:57 7c6cee850709: Pull complete 06:15:57 aa9baa53a306: Pull complete 06:15:57 8b309c321861: Pull complete 06:15:59 d8d76fd02f46: Pull complete 06:16:00 fa31f396de31: Pull complete 06:16:00 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 06:16:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:16:00 ---> cef68f9685f8 06:16:00 Step 3/14 : ARG ADD_BUILD_TAGS="" 06:16:05 Still waiting to schedule task 06:16:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:16:06 ---> Running in 7c956c360674 06:16:06 Removing intermediate container 7c956c360674 06:16:06 ---> a1fd8cb32185 06:16:06 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:16:06 ---> Running in 6f9d48503ef5 06:16:06 Removing intermediate container 6f9d48503ef5 06:16:06 ---> 7c25e7babccf 06:16:06 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 06:16:06 ---> Running in e37070655462 06:16:06 Removing intermediate container e37070655462 06:16:06 ---> f2198beecf14 06:16:06 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:16:06 ---> Running in 1e2a95e5c0e2 06:16:06 Removing intermediate container 1e2a95e5c0e2 06:16:06 ---> f4939eafd325 06:16:06 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:06 ---> Running in 3064992e14d1 06:16:07 Removing intermediate container 3064992e14d1 06:16:07 ---> 7acdece23bd6 06:16:07 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:07 ---> Running in 0b1f86e6da14 06:16:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:16:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:16:08 (1/80) Installing mesa (21.3.8-r2) 06:16:08 (2/80) Installing libxau (1.0.9-r0) 06:16:08 (3/80) Installing libxdmcp (1.1.3-r0) 06:16:08 (4/80) Installing libxcb (1.15-r0) 06:16:08 (5/80) Installing libx11 (1.8-r0) 06:16:08 (6/80) Installing libxext (1.3.4-r0) 06:16:09 (7/80) Installing libxfixes (6.0.0-r0) 06:16:09 (8/80) Installing libxxf86vm (1.1.4-r2) 06:16:09 (9/80) Installing libpciaccess (0.16-r0) 06:16:09 (10/80) Installing libdrm (2.4.110-r0) 06:16:09 (11/80) Installing mesa-glapi (21.3.8-r2) 06:16:09 (12/80) Installing libxshmfence (1.3-r1) 06:16:09 (13/80) Installing mesa-gl (21.3.8-r2) 06:16:09 (14/80) Installing icu-data-full (71.1-r2) 06:16:10 (15/80) Installing libice (1.0.10-r0) 06:16:10 (16/80) Installing libuuid (2.38-r1) 06:16:10 (17/80) Installing libsm (1.2.3-r0) 06:16:10 (18/80) Installing libxt (1.2.1-r0) 06:16:10 (19/80) Installing libxmu (1.1.3-r0) 06:16:10 (20/80) Installing xset (1.2.4-r0) 06:16:10 (21/80) Installing xprop (1.2.5-r0) 06:16:11 (22/80) Installing xdg-utils (1.1.3-r3) 06:16:11 (23/80) Installing dbus-libs (1.14.4-r0) 06:16:11 (24/80) Installing libffi (3.4.2-r1) 06:16:11 (25/80) Installing libintl (0.21-r2) 06:16:11 (26/80) Installing libblkid (2.38-r1) 06:16:11 (27/80) Installing libmount (2.38-r1) 06:16:11 (28/80) Installing pcre (8.45-r2) 06:16:11 (29/80) Installing glib (2.72.1-r0) 06:16:11 (30/80) Installing icu-libs (71.1-r2) 06:16:11 (31/80) Installing libpcre2-16 (10.40-r0) 06:16:11 (32/80) Installing zstd-libs (1.5.2-r1) 06:16:12 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 06:16:12 (34/80) Installing hicolor-icon-theme (0.17-r1) 06:16:12 (35/80) Installing wayland-libs-server (1.20.0-r0) 06:16:12 (36/80) Installing mesa-gbm (21.3.8-r2) 06:16:12 (37/80) Installing wayland-libs-client (1.20.0-r0) 06:16:12 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 06:16:13 (39/80) Installing libxcomposite (0.4.5-r0) 06:16:13 (40/80) Installing libbz2 (1.0.8-r1) 06:16:13 (41/80) Installing libpng (1.6.37-r1) 06:16:13 (42/80) Installing freetype (2.12.1-r0) 06:16:13 (43/80) Installing fontconfig (2.14.0-r0) 06:16:13 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 06:16:13 (45/80) Installing wayland-libs-egl (1.20.0-r0) 06:16:13 (46/80) Installing xkeyboard-config (2.35.1-r0) 06:16:13 (47/80) Installing xz-libs (5.2.5-r1) 06:16:14 (48/80) Installing libxml2 (2.9.14-r1) 06:16:14 (49/80) Installing libxkbcommon (1.4.1-r0) 06:16:14 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 06:16:14 (51/80) Installing mesa-egl (21.3.8-r2) 06:16:14 (52/80) Installing avahi-libs (0.8-r6) 06:16:14 (53/80) Installing nettle (3.7.3-r0) 06:16:14 (54/80) Installing p11-kit (0.24.1-r0) 06:16:14 (55/80) Installing libtasn1 (4.18.0-r0) 06:16:14 (56/80) Installing libunistring (1.0-r0) 06:16:14 (57/80) Installing gnutls (3.7.7-r0) 06:16:14 (58/80) Installing cups-libs (2.4.2-r0) 06:16:15 (59/80) Installing graphite2 (1.3.14-r1) 06:16:15 (60/80) Installing harfbuzz (4.3.0-r0) 06:16:15 (61/80) Installing libevdev (1.12.1-r0) 06:16:15 (62/80) Installing mtdev (1.1.6-r0) 06:16:15 (63/80) Installing eudev-libs (3.2.11-r0) 06:16:15 (64/80) Installing libinput-libs (1.20.1-r0) 06:16:15 (65/80) Installing libjpeg-turbo (2.1.3-r1) 06:16:15 (66/80) Installing xcb-util-wm (0.4.1-r1) 06:16:15 (67/80) Installing xcb-util (0.4.0-r3) 06:16:15 (68/80) Installing xcb-util-image (0.4.0-r1) 06:16:15 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 06:16:16 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 06:16:16 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 06:16:16 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 06:16:16 (73/80) Installing v4l-utils-libs (1.22.1-r1) 06:16:16 (74/80) Installing v4l-utils (1.22.1-r1) 06:16:16 (75/80) Installing udev-init-scripts (35-r0) 06:16:16 Executing udev-init-scripts-35-r0.post-install 06:16:16 (76/80) Installing kmod-libs (29-r2) 06:16:16 (77/80) Installing eudev (3.2.11-r0) 06:16:17 (78/80) Installing eudev-dev (3.2.11-r0) 06:16:17 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:16:17 (80/80) Installing v4l-utils-dev (1.22.1-r1) 06:16:17 Executing busybox-1.35.0-r13.trigger 06:16:17 Executing eudev-3.2.11-r0.trigger 06:16:17 OK: 330 MiB in 131 packages 06:16:20 Removing intermediate container 0b1f86e6da14 06:16:20 ---> 11f1f31a3e78 06:16:20 Step 9/14 : WORKDIR /device-usb-camera 06:16:20 ---> Running in 45ac4e2f8c66 06:16:20 Removing intermediate container 45ac4e2f8c66 06:16:20 ---> 82204371317a 06:16:20 Step 10/14 : COPY go.mod vendor* ./ 06:16:20 ---> 3cb94c83e820 06:16:20 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:20 ---> Running in aaea24728d7f 06:16:53 Removing intermediate container aaea24728d7f 06:16:53 ---> 01e03a655847 06:16:53 Step 12/14 : COPY . . 06:16:53 ---> 2f79d689e6c8 06:16:53 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:16:53 ---> Running in 44cb2d823d55 06:16:53  % Total % Received % Xferd Average Speed Time Time Time Current 06:16:53 Dload Upload Total Spent Left Speed 06:16:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10321 0 --:--:-- --:--:-- --:--:-- 10411 06:16:53 Removing intermediate container 44cb2d823d55 06:16:53 ---> 9ec07b9ab53f 06:16:53 Step 14/14 : RUN ${MAKE} 06:16:53 ---> Running in 2f39ef69c7cf 06:16:53 noop 06:16:53 Removing intermediate container 2f39ef69c7cf 06:16:53 ---> aef5a6130756 06:16:53 Successfully built aef5a6130756 06:16:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:53 + docker inspect -f . ci-base-image-x86_64 06:16:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:53 prd-ubuntu20.04-docker-8c-8g-7393 does not seem to be running inside a container 06:16:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:53 $ docker top f0207ecdc82a9fc429374461655e6da321e96f1e14f84de1679f69ca0daa4788 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:54 + go version 06:16:54 go version go1.18.3 linux/amd64 [Pipeline] } 06:16:54 $ docker stop --time=1 f0207ecdc82a9fc429374461655e6da321e96f1e14f84de1679f69ca0daa4788 06:16:55 $ docker rm -f f0207ecdc82a9fc429374461655e6da321e96f1e14f84de1679f69ca0daa4788 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:55 + docker inspect -f . ci-base-image-x86_64 06:16:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:56 prd-ubuntu20.04-docker-8c-8g-7393 does not seem to be running inside a container 06:16:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:56 $ docker top 3a6510885e89590b537265811559316dcbd8c7fff80dc439249bf78cf44641a4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:56 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 06:16:57 + make test 06:16:57 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:16:57 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:17:09 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:17:09 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:17:09 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:17:09 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:17:09 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 06:17:09 $ docker stop --time=1 3a6510885e89590b537265811559316dcbd8c7fff80dc439249bf78cf44641a4 06:17:12 $ docker rm -f 3a6510885e89590b537265811559316dcbd8c7fff80dc439249bf78cf44641a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:12 06:17:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:13 latest: Pulling from edgex-lftools-log-publisher 06:17:13 5eb5b503b376: Pulling fs layer 06:17:13 5c69ac0246d0: Pulling fs layer 06:17:13 ec43610c2a17: Pulling fs layer 06:17:13 3a2ae6a8a46f: Pulling fs layer 06:17:13 33b1e0a273af: Pulling fs layer 06:17:13 5d3b04190fa2: Pulling fs layer 06:17:13 2f39f015ded8: Pulling fs layer 06:17:13 3a2ae6a8a46f: Waiting 06:17:13 5d3b04190fa2: Waiting 06:17:13 33b1e0a273af: Waiting 06:17:13 2f39f015ded8: Waiting 06:17:13 5c69ac0246d0: Verifying Checksum 06:17:13 5c69ac0246d0: Download complete 06:17:13 3a2ae6a8a46f: Download complete 06:17:13 33b1e0a273af: Verifying Checksum 06:17:13 33b1e0a273af: Download complete 06:17:13 ec43610c2a17: Verifying Checksum 06:17:13 ec43610c2a17: Download complete 06:17:13 5d3b04190fa2: Download complete 06:17:13 5eb5b503b376: Verifying Checksum 06:17:13 5eb5b503b376: Download complete 06:17:13 2f39f015ded8: Verifying Checksum 06:17:13 2f39f015ded8: Download complete 06:17:14 5eb5b503b376: Pull complete 06:17:14 5c69ac0246d0: Pull complete 06:17:15 ec43610c2a17: Pull complete 06:17:15 3a2ae6a8a46f: Pull complete 06:17:15 33b1e0a273af: Pull complete 06:17:15 5d3b04190fa2: Pull complete 06:17:19 2f39f015ded8: Pull complete 06:17:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:19 prd-ubuntu20.04-docker-8c-8g-7393 does not seem to be running inside a container 06:17:20 $ 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-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:17:23 $ docker top 49d04f623d1281d9af1b18e06bd836899a2bf1ee5d28be63e7c0e9e5b43cba01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:23 ---> job-cost.sh 06:17:23 lf-activate-venv: SKIPPING 06:17:23 INFO: No Stack... 06:17:24 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:24 INFO: Archiving Costs [Pipeline] sh 06:17:24 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 06:17:24 + cut -d, -f6 [Pipeline] lock 06:17:24 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-4-stack-cost] 06:17:24 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-4-stack-cost] did not exist. Created. 06:17:24 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:24 + echo total: 0.2199999988079071 [Pipeline] stash 06:17:24 Stashed 1 file(s) [Pipeline] } 06:17:24 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:24 $ docker stop --time=1 49d04f623d1281d9af1b18e06bd836899a2bf1ee5d28be63e7c0e9e5b43cba01 06:17:26 $ docker rm -f 49d04f623d1281d9af1b18e06bd836899a2bf1ee5d28be63e7c0e9e5b43cba01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:17:26 Failed in branch amd64 06:17:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7394 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 06:17:33 Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout 06:17:33 Selected Git installation does not exist. Using Default 06:17:33 The recommended git tool is: NONE 06:17:38 using credential edgex-jenkins-ssh 06:17:38 Cloning the remote Git repository 06:17:38 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:17:38 > git init /w/workspace/device-usb-camera/4 # timeout=10 06:17:39 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:17:39 > git --version # timeout=10 06:17:39 > git --version # 'git version 2.25.1' 06:17:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:39 Verifying host key using known hosts file 06:17:39 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:17:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:40 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:17:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:40 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:17:40 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:17:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:40 Verifying host key using known hosts file 06:17:40 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:17:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:17:41 Merging remotes/origin/main commit e6cf2f2f80d14c6ff357eccb58ac1fd20041715b into PR head commit 5487d09fec3d387f0df10ae8cf4872c9ea9092c4 06:17:41 Merge succeeded, producing 55917b05d2f21e1e9026edc16aa9f5f55d2cfc2b 06:17:41 Checking out Revision 55917b05d2f21e1e9026edc16aa9f5f55d2cfc2b (PR-99) 06:17:41 > git config core.sparsecheckout # timeout=10 06:17:41 > git checkout -f 5487d09fec3d387f0df10ae8cf4872c9ea9092c4 # timeout=10 06:17:41 > git remote # timeout=10 06:17:41 > git config --get remote.origin.url # timeout=10 06:17:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:41 Verifying host key using known hosts file 06:17:41 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:17:41 > git merge e6cf2f2f80d14c6ff357eccb58ac1fd20041715b # timeout=10 06:17:41 > git rev-parse HEAD^{commit} # timeout=10 06:17:41 > git config core.sparsecheckout # timeout=10 06:17:41 > git checkout -f 55917b05d2f21e1e9026edc16aa9f5f55d2cfc2b # timeout=10 06:17:45 Commit message: "Merge commit 'e6cf2f2f80d14c6ff357eccb58ac1fd20041715b' into HEAD" 06:17:45 > git rev-list --no-walk 5487d09fec3d387f0df10ae8cf4872c9ea9092c4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:17:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:17:46 Dload Upload Total Spent Left Speed 06:17:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12602 83 10506 0 0 85414 0 --:--:-- --:--:-- --:--:-- 84725 100 12602 100 12602 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 06:17:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:17:47 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 06:17:47 06:17:47 { 06:17:47 "registry-mirrors": [ 06:17:47 "https://nexus3.edgexfoundry.org:10001" 06:17:47 ], 06:17:47 "bip": "10.250.0.254/24", 06:17:47 "hosts": [ 06:17:47 "tcp://0.0.0.0:5555", 06:17:47 "unix:///var/run/docker.sock" 06:17:47 ], 06:17:47 "mtu": 1458, 06:17:47 "selinux-enabled": true, 06:17:47 "seccomp-profile": "/etc/docker/seccomp.json" 06:17:47 } [Pipeline] sh 06:17:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:17:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:06 provisioning config files... 06:18:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config17636455013466210492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:06 ---> docker-login.sh 06:18:06 nexus3.edgexfoundry.org:10001 06:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:07 Configure a credential helper to remove this warning. See 06:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:07 06:18:07 Login Succeeded 06:18:07 nexus3.edgexfoundry.org:10002 06:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:07 Configure a credential helper to remove this warning. See 06:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:07 06:18:07 Login Succeeded 06:18:07 nexus3.edgexfoundry.org:10003 06:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:07 Configure a credential helper to remove this warning. See 06:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:07 06:18:07 Login Succeeded 06:18:07 nexus3.edgexfoundry.org:10004 06:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:08 Configure a credential helper to remove this warning. See 06:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:08 06:18:08 Login Succeeded 06:18:08 docker.io 06:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:08 Configure a credential helper to remove this warning. See 06:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:08 06:18:08 Login Succeeded 06:18:08 ---> docker-login.sh ends [Pipeline] } 06:18:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:08 ========================================================= 06:18:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:18:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:18:09 Sending build context to Docker daemon 988.7kB 06:18:09 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 06:18:09 Step 2/14 : FROM ${BASE} AS builder 06:18:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:18:09 b3c136eddcbf: Pulling fs layer 06:18:09 c0a3192eca97: Pulling fs layer 06:18:09 a050256f5b6f: Pulling fs layer 06:18:09 656be50a0ddc: Pulling fs layer 06:18:09 2bbca73fdf42: Pulling fs layer 06:18:09 f607e4fc86c3: Pulling fs layer 06:18:09 4d572c569a2c: Pulling fs layer 06:18:09 fcf976331f73: Pulling fs layer 06:18:09 2bbca73fdf42: Waiting 06:18:09 f607e4fc86c3: Waiting 06:18:09 4d572c569a2c: Waiting 06:18:09 fcf976331f73: Waiting 06:18:09 656be50a0ddc: Waiting 06:18:09 a050256f5b6f: Verifying Checksum 06:18:09 a050256f5b6f: Download complete 06:18:09 c0a3192eca97: Verifying Checksum 06:18:09 c0a3192eca97: Download complete 06:18:09 2bbca73fdf42: Verifying Checksum 06:18:09 2bbca73fdf42: Download complete 06:18:09 f607e4fc86c3: Verifying Checksum 06:18:09 f607e4fc86c3: Download complete 06:18:09 b3c136eddcbf: Verifying Checksum 06:18:09 b3c136eddcbf: Download complete 06:18:11 b3c136eddcbf: Pull complete 06:18:11 fcf976331f73: Verifying Checksum 06:18:11 fcf976331f73: Download complete 06:18:12 4d572c569a2c: Verifying Checksum 06:18:12 4d572c569a2c: Download complete 06:18:13 656be50a0ddc: Download complete 06:18:13 c0a3192eca97: Pull complete 06:18:13 a050256f5b6f: Pull complete 06:18:26 656be50a0ddc: Pull complete 06:18:26 2bbca73fdf42: Pull complete 06:18:26 f607e4fc86c3: Pull complete 06:18:32 4d572c569a2c: Pull complete 06:18:33 fcf976331f73: Pull complete 06:18:33 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 06:18:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:18:33 ---> 3970a7415f9e 06:18:33 Step 3/14 : ARG ADD_BUILD_TAGS="" 06:18:35 ---> Running in 3e9c3ede944c 06:18:35 Removing intermediate container 3e9c3ede944c 06:18:35 ---> eb079679b7b5 06:18:35 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:18:35 ---> Running in e8f492941bf7 06:18:36 Removing intermediate container e8f492941bf7 06:18:36 ---> 068416f09ff5 06:18:36 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 06:18:36 ---> Running in 9c44c0e1f4bf 06:18:36 Removing intermediate container 9c44c0e1f4bf 06:18:36 ---> d264ed2f7f19 06:18:36 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:18:36 ---> Running in 03385001cc40 06:18:36 Removing intermediate container 03385001cc40 06:18:36 ---> c4577be1060f 06:18:36 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:37 ---> Running in 16ba2c0afae4 06:18:38 Removing intermediate container 16ba2c0afae4 06:18:38 ---> ed3bc198e7b9 06:18:38 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:38 ---> Running in 1eb732f216ac 06:18:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:18:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:18:41 (1/14) Installing libintl (0.21-r2) 06:18:41 (2/14) Installing eudev-libs (3.2.11-r0) 06:18:41 (3/14) Installing libjpeg-turbo (2.1.3-r1) 06:18:41 (4/14) Installing v4l-utils-libs (1.22.1-r1) 06:18:41 (5/14) Installing v4l-utils (1.22.1-r1) 06:18:41 (6/14) Installing udev-init-scripts (35-r0) 06:18:41 Executing udev-init-scripts-35-r0.post-install 06:18:41 (7/14) Installing libblkid (2.38-r1) 06:18:42 (8/14) Installing xz-libs (5.2.5-r1) 06:18:42 (9/14) Installing zstd-libs (1.5.2-r1) 06:18:42 (10/14) Installing kmod-libs (29-r2) 06:18:42 (11/14) Installing eudev (3.2.11-r0) 06:18:42 (12/14) Installing eudev-dev (3.2.11-r0) 06:18:42 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:18:42 (14/14) Installing v4l-utils-dev (1.22.1-r1) 06:18:43 Executing busybox-1.35.0-r13.trigger 06:18:43 Executing eudev-3.2.11-r0.trigger 06:18:43 OK: 228 MiB in 65 packages 06:18:43 Removing intermediate container 1eb732f216ac 06:18:43 ---> 8cc3f6377efb 06:18:43 Step 9/14 : WORKDIR /device-usb-camera 06:18:43 ---> Running in 5f60f0d6cfe7 06:18:44 Removing intermediate container 5f60f0d6cfe7 06:18:44 ---> b06532d0534b 06:18:44 Step 10/14 : COPY go.mod vendor* ./ 06:18:44 ---> 35e8e13c36a8 06:18:44 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:45 ---> Running in 48191c038dfd 06:19:31 Removing intermediate container 48191c038dfd 06:19:31 ---> 69492903e994 06:19:31 Step 12/14 : COPY . . 06:19:31 ---> a610a3eb2e2b 06:19:31 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:19:31 ---> Running in eaa17c9e377d 06:19:32   % Total % Received % Xferd Average Speed Time Time Time Current 06:19:32  Dload Upload Total Spent Left Speed 06:19:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11022 0 --:--:-- --:--:-- --:--:-- 11062 06:19:33 Removing intermediate container eaa17c9e377d 06:19:33 ---> 0f5d042c0601 06:19:33 Step 14/14 : RUN ${MAKE} 06:19:33 ---> Running in 5bd4a0694e24 06:19:34 noop 06:19:34 Removing intermediate container 5bd4a0694e24 06:19:34 ---> e54f2263935c 06:19:34 Successfully built e54f2263935c 06:19:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:35 + docker inspect -f . ci-base-image-arm64 06:19:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:35 prd-ubuntu20.04-docker-arm64-4c-16g-7394 does not seem to be running inside a container 06:19:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:19:36 $ docker top a748292f57746f73fd716bcf7fd12c9edca1bca19bfaa77e14de91c914ec420e -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:37 + go version 06:19:37 go version go1.18.3 linux/arm64 [Pipeline] } 06:19:37 $ docker stop --time=1 a748292f57746f73fd716bcf7fd12c9edca1bca19bfaa77e14de91c914ec420e 06:19:39 $ docker rm -f a748292f57746f73fd716bcf7fd12c9edca1bca19bfaa77e14de91c914ec420e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:39 + docker inspect -f . ci-base-image-arm64 06:19:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:39 prd-ubuntu20.04-docker-arm64-4c-16g-7394 does not seem to be running inside a container 06:19:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:19:40 $ docker top cd88ee5bc57cd8fdcddec0bdfd7a3ce3acb15bc0497ccd560785f42d006cc50d -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:41 + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh 06:19:42 + make test 06:19:42 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:19:43 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:21:20 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:21:20 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:21:20 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:21:20 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:21:20 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 06:21:20 $ docker stop --time=1 cd88ee5bc57cd8fdcddec0bdfd7a3ce3acb15bc0497ccd560785f42d006cc50d 06:21:22 $ docker rm -f cd88ee5bc57cd8fdcddec0bdfd7a3ce3acb15bc0497ccd560785f42d006cc50d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:23 06:21:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:23 arm64: Pulling from edgex-lftools-log-publisher 06:21:23 8998bd30e6a1: Pulling fs layer 06:21:23 04944245beec: Pulling fs layer 06:21:23 699f458cf7ca: Pulling fs layer 06:21:23 765212b225bb: Pulling fs layer 06:21:23 f23df028b6ca: Pulling fs layer 06:21:23 d65c8cfc05b1: Pulling fs layer 06:21:23 2437ff75d9bd: Pulling fs layer 06:21:23 f23df028b6ca: Waiting 06:21:23 d65c8cfc05b1: Waiting 06:21:23 2437ff75d9bd: Waiting 06:21:23 765212b225bb: Waiting 06:21:23 04944245beec: Verifying Checksum 06:21:23 04944245beec: Download complete 06:21:23 765212b225bb: Verifying Checksum 06:21:23 765212b225bb: Download complete 06:21:24 f23df028b6ca: Verifying Checksum 06:21:24 f23df028b6ca: Download complete 06:21:24 d65c8cfc05b1: Verifying Checksum 06:21:24 d65c8cfc05b1: Download complete 06:21:24 699f458cf7ca: Verifying Checksum 06:21:24 699f458cf7ca: Download complete 06:21:24 8998bd30e6a1: Verifying Checksum 06:21:24 8998bd30e6a1: Download complete 06:21:26 2437ff75d9bd: Verifying Checksum 06:21:26 2437ff75d9bd: Download complete 06:21:28 8998bd30e6a1: Pull complete 06:21:28 04944245beec: Pull complete 06:21:30 699f458cf7ca: Pull complete 06:21:30 765212b225bb: Pull complete 06:21:31 f23df028b6ca: Pull complete 06:21:31 d65c8cfc05b1: Pull complete 06:21:46 2437ff75d9bd: Pull complete 06:21:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:21:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:46 prd-ubuntu20.04-docker-arm64-4c-16g-7394 does not seem to be running inside a container 06:21:46 $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:21:49 $ docker top d538a4bd85d8d828d6a9b974b5ba6620edf453a8403022ffadb6396fa6136626 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:49 ---> job-cost.sh 06:21:49 lf-activate-venv: SKIPPING 06:21:49 INFO: No Stack... 06:21:50 INFO: Retrieving Pricing Info for: v3-standard-4 06:21:51 INFO: Archiving Costs [Pipeline] sh 06:21:51 + cut -d, -f6 06:21:51 + cat /w/workspace/device-usb-camera/4/archives/cost.csv [Pipeline] lock 06:21:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-4-stack-cost] 06:21:51 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-4-stack-cost] did not exist. Created. 06:21:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:21:51 /w/workspace/device-usb-camera/4@tmp/durable-006c6d9a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:21:52 + echo total: 0.10999999940395355 [Pipeline] stash 06:21:52 Warning: overwriting stash ‘stack-cost’ 06:21:52 Stashed 1 file(s) [Pipeline] } 06:21:52 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:21:52 $ docker stop --time=1 d538a4bd85d8d828d6a9b974b5ba6620edf453a8403022ffadb6396fa6136626 06:21:54 $ docker rm -f d538a4bd85d8d828d6a9b974b5ba6620edf453a8403022ffadb6396fa6136626 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:21:54 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:21:55 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 06:21:55 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:21:55 total 16 06:21:55 drwxr-xr-x 3 root root 4096 Oct 8 06:17 . 06:21:55 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 06:17 .. 06:21:55 drwxr-xr-x 2 root root 4096 Oct 8 06:17 cost 06:21:55 -rw-r--r-- 1 root root 88 Oct 8 06:17 cost.csv 06:21:55 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:21:55 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:21:55 total 16 06:21:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 06:17 . 06:21:55 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 06:17 .. 06:21:55 drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 06:17 cost 06:21:55 -rw-r--r-- 1 jenkins jenkins 88 Oct 8 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:21:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:56 ---> package-listing.sh 06:21:56 ++ facter osfamily 06:21:56 ++ tr '[:upper:]' '[:lower:]' 06:21:56 + OS_FAMILY=debian 06:21:56 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 06:21:56 + START_PACKAGES=/tmp/packages_start.txt 06:21:56 + END_PACKAGES=/tmp/packages_end.txt 06:21:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:56 + PACKAGES=/tmp/packages_start.txt 06:21:56 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:21:56 + PACKAGES=/tmp/packages_end.txt 06:21:56 + case "${OS_FAMILY}" in 06:21:56 + dpkg -l 06:21:56 + grep '^ii' 06:21:56 + '[' -f /tmp/packages_start.txt ']' 06:21:56 + '[' -f /tmp/packages_end.txt ']' 06:21:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:56 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:21:56 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 06:21:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo 06:21:56 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-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:21:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:57 prd-ubuntu20.04-docker-8c-8g-7393 does not seem to be running inside a container 06:21:57 $ 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-99/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-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:21:57 $ docker top 157a3fb7adba0269396109501001369c5e7db617465f1514eea9be8d61c93ea7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:58 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:58 + mkdir -p /var/log/sysstat [Pipeline] sh 06:21:58 + ls /var/log/sa-host 06:21:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:58 provisioning config files... 06:21:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config1615935380295829115tmp [Pipeline] { [Pipeline] echo 06:21:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:59 ---> create-netrc.sh [Pipeline] } 06:21:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:21:59 ---> python-tools-install.sh [Pipeline] echo 06:21:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:59 ---> sudo-logs.sh 06:21:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:21:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:59 ---> job-cost.sh 06:21:59 lf-activate-venv: SKIPPING 06:21:59 DEBUG: total: 0.2199999988079071 06:21:59 INFO: Retrieving Stack Cost... 06:22:00 INFO: Retrieving Pricing Info for: v3-standard-8 06:22:00 INFO: Archiving Costs [Pipeline] echo 06:22:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:22:01 ---> logs-deploy.sh 06:22:01 lf-activate-venv: SKIPPING 06:22:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/4 06:22:01 INFO: archiving workspace using pattern(s): 06:22:02 Archives upload complete. 06:22:02 INFO: archiving logs to Nexus