Pull request #99 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ec960d98c73b06cd377fc44ea5d8f7646846d41+e381fef93e2e423e063e21a7b547118aa6f1cf75 (1c785e24919c8d853754080b737d143f90a3299c) 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-ssh6170034244514618158.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-ssh11921098972577436647.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-ssh15312171323141457440.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-ssh6635203624908387879.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-ssh5884430497302997887.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7584 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 Merging remotes/origin/main commit e381fef93e2e423e063e21a7b547118aa6f1cf75 into PR head commit 2ec960d98c73b06cd377fc44ea5d8f7646846d41 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ec960d98c73b06cd377fc44ea5d8f7646846d41 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 2ec960d98c73b06cd377fc44ea5d8f7646846d41 Checking out Revision 2ec960d98c73b06cd377fc44ea5d8f7646846d41 (PR-99) Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:07:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:07:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:07:18 ========================================================= 20:07:18 EdgeX Global Pipelines Version Info 20:07:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh > 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 e381fef93e2e423e063e21a7b547118aa6f1cf75 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ec960d98c73b06cd377fc44ea5d8f7646846d41 # timeout=10 > git rev-list --no-walk 55917b05d2f21e1e9026edc16aa9f5f55d2cfc2b # timeout=10 20:07:19 ------------------- 20:07:19 stable info: 20:07:19 ------------------- 20:07:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:07:19 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:07:19 Message: update stable to v1.0.239 20:07:19 ------------------- 20:07:19 experimental info: 20:07:19 ------------------- 20:07:19 Commited By: **** collab-it+edgex@linuxfoundation.org 20:07:19 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:07:19 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ec960d98c73b06cd377fc44ea5d8f7646846d41 [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ec960d [Pipeline] echo 20:07:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:07:20 provisioning config files... 20:07:20 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config4096859090042937614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:20 ---> docker-login.sh 20:07:20 nexus3.edgexfoundry.org:10001 20:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:21 Configure a credential helper to remove this warning. See 20:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:21 20:07:21 Login Succeeded 20:07:21 nexus3.edgexfoundry.org:10002 20:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:21 Configure a credential helper to remove this warning. See 20:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:21 20:07:21 Login Succeeded 20:07:21 nexus3.edgexfoundry.org:10003 20:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:21 Configure a credential helper to remove this warning. See 20:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:21 20:07:21 Login Succeeded 20:07:21 nexus3.edgexfoundry.org:10004 20:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:21 Configure a credential helper to remove this warning. See 20:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:21 20:07:21 Login Succeeded 20:07:21 docker.io 20:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:21 Configure a credential helper to remove this warning. See 20:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:21 20:07:21 Login Succeeded 20:07:21 ---> docker-login.sh ends [Pipeline] } 20:07:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:07:22 + git rev-list -1 --merges 2ec960d98c73b06cd377fc44ea5d8f7646846d41~1..2ec960d98c73b06cd377fc44ea5d8f7646846d41 [Pipeline] echo 20:07:22 -----------> git rev-list -1 --merges 2ec960d98c73b06cd377fc44ea5d8f7646846d41~1..2ec960d98c73b06cd377fc44ea5d8f7646846d41 2ec960d98c73b06cd377fc44ea5d8f7646846d41 [false] [Pipeline] sh 20:07:22 + git log --format=format:%s -1 2ec960d98c73b06cd377fc44ea5d8f7646846d41 [Pipeline] echo 20:07:22 ========================================================= 20:07:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:07:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:07:23 + git log --format=format:%s -1 2ec960d98c73b06cd377fc44ea5d8f7646846d41 [Pipeline] echo 20:07:23 [semverPrep] GIT_COMMIT: 2ec960d98c73b06cd377fc44ea5d8f7646846d41, Commit Message: build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5 [Pipeline] echo 20:07:23 [semverPrep] This is not a build commit. [Pipeline] sh 20:07:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:07:23 + grep -v github /etc/ssh/ssh_known_hosts 20:07:23 + [ -e /tmp/ssh_known_hosts ] 20:07:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:07:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:07:23 + sudo tee -a /etc/ssh/ssh_known_hosts 20:07:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:07:23 20:07:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:07:24 0.1.4: Pulling from edgex-devops/py-git-semver 20:07:24 b85a868b505f: Pulling fs layer 20:07:24 e2be974225ed: Pulling fs layer 20:07:24 339a4e72a1f5: Pulling fs layer 20:07:24 988bab9f4d93: Pulling fs layer 20:07:24 1469e6f7b9e6: Pulling fs layer 20:07:24 eaf3925da568: Pulling fs layer 20:07:24 bab4dde63d76: Pulling fs layer 20:07:24 bde34c3a00c8: Pulling fs layer 20:07:24 b352a97aabf1: Pulling fs layer 20:07:24 4872d77fe225: Pulling fs layer 20:07:24 5851b861e8e6: Pulling fs layer 20:07:24 1469e6f7b9e6: Waiting 20:07:24 eaf3925da568: Waiting 20:07:24 bab4dde63d76: Waiting 20:07:24 bde34c3a00c8: Waiting 20:07:24 b352a97aabf1: Waiting 20:07:24 4872d77fe225: Waiting 20:07:24 5851b861e8e6: Waiting 20:07:24 e2be974225ed: Verifying Checksum 20:07:24 e2be974225ed: Download complete 20:07:24 988bab9f4d93: Download complete 20:07:24 1469e6f7b9e6: Verifying Checksum 20:07:24 1469e6f7b9e6: Download complete 20:07:24 eaf3925da568: Download complete 20:07:24 339a4e72a1f5: Verifying Checksum 20:07:24 339a4e72a1f5: Download complete 20:07:24 bde34c3a00c8: Verifying Checksum 20:07:24 bde34c3a00c8: Download complete 20:07:24 b85a868b505f: Verifying Checksum 20:07:24 b85a868b505f: Download complete 20:07:24 4872d77fe225: Download complete 20:07:24 b352a97aabf1: Verifying Checksum 20:07:24 b352a97aabf1: Download complete 20:07:24 5851b861e8e6: Download complete 20:07:24 bab4dde63d76: Verifying Checksum 20:07:24 bab4dde63d76: Download complete 20:07:25 b85a868b505f: Pull complete 20:07:25 e2be974225ed: Pull complete 20:07:26 339a4e72a1f5: Pull complete 20:07:26 988bab9f4d93: Pull complete 20:07:26 1469e6f7b9e6: Pull complete 20:07:26 eaf3925da568: Pull complete 20:07:28 bab4dde63d76: Pull complete 20:07:28 bde34c3a00c8: Pull complete 20:07:28 b352a97aabf1: Pull complete 20:07:28 4872d77fe225: Pull complete 20:07:29 5851b861e8e6: Pull complete 20:07:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:07:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:29 prd-ubuntu20.04-docker-8c-8g-7584 does not seem to be running inside a container 20:07:29 $ 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 20:07:32 $ docker top fee2fb5bb90cccadfb786be25c86eacc8bb59d7e2634b03225340ea16e6878fe -eo pid,comm 20:07:32 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). 20:07:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:07:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:07:32 [ssh-agent] Looking for ssh-agent implementation... 20:07:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:07:32 $ docker exec fee2fb5bb90cccadfb786be25c86eacc8bb59d7e2634b03225340ea16e6878fe ssh-agent 20:07:32 SSH_AUTH_SOCK=/tmp/ssh-BYWFN6RTV122/agent.33 20:07:32 SSH_AGENT_PID=39 20:07:32 Running ssh-add (command line suppressed) 20:07:32 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_2488100742698236883.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_2488100742698236883.key) 20:07:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:07:32 + git tag --points-at HEAD [Pipeline] } 20:07:32 $ docker exec --env ******** --env ******** fee2fb5bb90cccadfb786be25c86eacc8bb59d7e2634b03225340ea16e6878fe ssh-agent -k 20:07:33 unset SSH_AUTH_SOCK; 20:07:33 unset SSH_AGENT_PID; 20:07:33 echo Agent pid 39 killed; 20:07:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:07:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:07:33 [ssh-agent] Looking for ssh-agent implementation... 20:07:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:07:33 $ docker exec fee2fb5bb90cccadfb786be25c86eacc8bb59d7e2634b03225340ea16e6878fe ssh-agent 20:07:33 SSH_AUTH_SOCK=/tmp/ssh-1q6ZWt59OxOd/agent.71 20:07:33 SSH_AGENT_PID=77 20:07:33 Running ssh-add (command line suppressed) 20:07:33 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_6587326511560415322.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_6587326511560415322.key) 20:07:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:07:33 + git semver init 20:07:34 2022-10-10 20:07:33,972 [run_init] DEBUG init version:0.0.0 force:False 20:07:34 2022-10-10 20:07:33,973 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 20:07:34 2022-10-10 20:07:33,974 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 20:07:34 2022-10-10 20:07:33,974 [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) 20:07:34 2022-10-10 20:07:34,767 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 20:07:34 2022-10-10 20:07:34,768 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False 20:07:34 2022-10-10 20:07:34,768 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 20:07:34 2022-10-10 20:07:34,772 [execute] INFO git cat-file --batch-check 20:07:34 2022-10-10 20:07:34,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 20:07:34 2022-10-10 20:07:34,780 [execute] INFO git cat-file --batch 20:07:34 2022-10-10 20:07:34,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 20:07:34 2022-10-10 20:07:34,786 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 20:07:34 0.0.0 [Pipeline] } 20:07:34 $ docker exec --env ******** --env ******** fee2fb5bb90cccadfb786be25c86eacc8bb59d7e2634b03225340ea16e6878fe ssh-agent -k 20:07:35 unset SSH_AUTH_SOCK; 20:07:35 unset SSH_AGENT_PID; 20:07:35 echo Agent pid 77 killed; 20:07:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:07:35 + git semver [Pipeline] } 20:07:35 $ docker stop --time=1 fee2fb5bb90cccadfb786be25c86eacc8bb59d7e2634b03225340ea16e6878fe 20:07:37 $ docker rm -f fee2fb5bb90cccadfb786be25c86eacc8bb59d7e2634b03225340ea16e6878fe [Pipeline] // withDockerContainer [Pipeline] sh 20:07:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:07:37 Stashed 1 file(s) [Pipeline] echo 20:07:37 [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 20:07:37 provisioning config files... 20:07:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config18040918931195524286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:38 ---> docker-login.sh 20:07:38 nexus3.edgexfoundry.org:10001 20:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:38 Configure a credential helper to remove this warning. See 20:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:38 20:07:38 Login Succeeded 20:07:38 nexus3.edgexfoundry.org:10002 20:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:38 Configure a credential helper to remove this warning. See 20:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:38 20:07:38 Login Succeeded 20:07:38 nexus3.edgexfoundry.org:10003 20:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:38 Configure a credential helper to remove this warning. See 20:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:38 20:07:38 Login Succeeded 20:07:38 nexus3.edgexfoundry.org:10004 20:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:38 Configure a credential helper to remove this warning. See 20:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:38 20:07:38 Login Succeeded 20:07:38 docker.io 20:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:38 Configure a credential helper to remove this warning. See 20:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:38 20:07:38 Login Succeeded 20:07:38 ---> docker-login.sh ends [Pipeline] } 20:07:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:38 ========================================================= 20:07:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:07:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:39 + 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 . 20:07:39 Sending build context to Docker daemon 1.5MB 20:07:39 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:07:39 Step 2/14 : FROM ${BASE} AS builder 20:07:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:07:39 213ec9aee27d: Pulling fs layer 20:07:39 4583459ba037: Pulling fs layer 20:07:39 93c1e223e6f2: Pulling fs layer 20:07:39 53926ce57604: Pulling fs layer 20:07:39 21b2b0c7a3f4: Pulling fs layer 20:07:39 30f14e443154: Pulling fs layer 20:07:39 801331c1e519: Pulling fs layer 20:07:39 99cc6dd402b0: Pulling fs layer 20:07:39 7d9ed39f4882: Pulling fs layer 20:07:39 801331c1e519: Waiting 20:07:39 53926ce57604: Waiting 20:07:39 99cc6dd402b0: Waiting 20:07:39 21b2b0c7a3f4: Waiting 20:07:39 7d9ed39f4882: Waiting 20:07:39 30f14e443154: Waiting 20:07:39 93c1e223e6f2: Verifying Checksum 20:07:39 93c1e223e6f2: Download complete 20:07:39 4583459ba037: Verifying Checksum 20:07:39 4583459ba037: Download complete 20:07:39 21b2b0c7a3f4: Verifying Checksum 20:07:39 21b2b0c7a3f4: Download complete 20:07:39 30f14e443154: Verifying Checksum 20:07:39 30f14e443154: Download complete 20:07:39 213ec9aee27d: Verifying Checksum 20:07:39 213ec9aee27d: Download complete 20:07:39 801331c1e519: Download complete 20:07:39 213ec9aee27d: Pull complete 20:07:39 4583459ba037: Pull complete 20:07:39 93c1e223e6f2: Pull complete 20:07:40 7d9ed39f4882: Verifying Checksum 20:07:40 7d9ed39f4882: Download complete 20:07:40 53926ce57604: Verifying Checksum 20:07:40 53926ce57604: Download complete 20:07:40 99cc6dd402b0: Verifying Checksum 20:07:40 99cc6dd402b0: Download complete 20:07:45 53926ce57604: Pull complete 20:07:45 21b2b0c7a3f4: Pull complete 20:07:45 30f14e443154: Pull complete 20:07:45 801331c1e519: Pull complete 20:07:46 99cc6dd402b0: Pull complete 20:07:47 7d9ed39f4882: Pull complete 20:07:47 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:07:47 ---> 1dedd983c030 20:07:47 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:07:50 ---> Running in b5609cc13518 20:07:50 Removing intermediate container b5609cc13518 20:07:50 ---> 42f149460686 20:07:50 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:50 ---> Running in db02a50ceab7 20:07:50 Removing intermediate container db02a50ceab7 20:07:50 ---> d777ba135ad1 20:07:50 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:07:50 ---> Running in 7fd6afbe6e27 20:07:50 Removing intermediate container 7fd6afbe6e27 20:07:50 ---> bc8d578bb34e 20:07:50 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:07:50 ---> Running in 0360c0a59b4e 20:07:50 Removing intermediate container 0360c0a59b4e 20:07:50 ---> 51c2f9dfaf74 20:07:50 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:50 ---> Running in c764c4d787c8 20:07:51 Removing intermediate container c764c4d787c8 20:07:51 ---> d345b61b7a54 20:07:51 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:51 ---> Running in 6b5db8a21580 20:07:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:07:52 Still waiting to schedule task 20:07:52 ‘prd-centos7-builder-2c-1g-7579’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:07:52 ‘prd-ubuntu20.04-docker-8c-8g-7577’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:07:52 ‘prd-ubuntu20.04-docker-8c-8g-7582’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:07:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7578’ is offline 20:07:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7585’ is offline 20:07:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:07:52 (1/80) Installing mesa (21.3.8-r2) 20:07:53 (2/80) Installing libxau (1.0.9-r0) 20:07:53 (3/80) Installing libxdmcp (1.1.3-r0) 20:07:53 (4/80) Installing libxcb (1.15-r0) 20:07:53 (5/80) Installing libx11 (1.8-r0) 20:07:53 (6/80) Installing libxext (1.3.4-r0) 20:07:53 (7/80) Installing libxfixes (6.0.0-r0) 20:07:53 (8/80) Installing libxxf86vm (1.1.4-r2) 20:07:53 (9/80) Installing libpciaccess (0.16-r0) 20:07:53 (10/80) Installing libdrm (2.4.110-r0) 20:07:54 (11/80) Installing mesa-glapi (21.3.8-r2) 20:07:54 (12/80) Installing libxshmfence (1.3-r1) 20:07:54 (13/80) Installing mesa-gl (21.3.8-r2) 20:07:54 (14/80) Installing icu-data-full (71.1-r2) 20:07:55 (15/80) Installing libice (1.0.10-r0) 20:07:55 (16/80) Installing libuuid (2.38-r1) 20:07:55 (17/80) Installing libsm (1.2.3-r0) 20:07:55 (18/80) Installing libxt (1.2.1-r0) 20:07:55 (19/80) Installing libxmu (1.1.3-r0) 20:07:55 (20/80) Installing xset (1.2.4-r0) 20:07:55 (21/80) Installing xprop (1.2.5-r0) 20:07:55 (22/80) Installing xdg-utils (1.1.3-r3) 20:07:55 (23/80) Installing dbus-libs (1.14.4-r0) 20:07:55 (24/80) Installing libffi (3.4.2-r1) 20:07:55 (25/80) Installing libintl (0.21-r2) 20:07:55 (26/80) Installing libblkid (2.38-r1) 20:07:55 (27/80) Installing libmount (2.38-r1) 20:07:56 (28/80) Installing pcre (8.45-r2) 20:07:56 (29/80) Installing glib (2.72.1-r0) 20:07:57 (30/80) Installing icu-libs (71.1-r2) 20:07:57 (31/80) Installing libpcre2-16 (10.40-r0) 20:07:57 (32/80) Installing zstd-libs (1.5.2-r1) 20:07:57 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 20:07:57 (34/80) Installing hicolor-icon-theme (0.17-r1) 20:07:57 (35/80) Installing wayland-libs-server (1.20.0-r0) 20:07:57 (36/80) Installing mesa-gbm (21.3.8-r2) 20:07:58 (37/80) Installing wayland-libs-client (1.20.0-r0) 20:07:58 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 20:07:58 (39/80) Installing libxcomposite (0.4.5-r0) 20:07:58 (40/80) Installing libbz2 (1.0.8-r1) 20:07:58 (41/80) Installing libpng (1.6.37-r1) 20:07:59 (42/80) Installing freetype (2.12.1-r0) 20:07:59 (43/80) Installing fontconfig (2.14.0-r0) 20:07:59 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 20:07:59 (45/80) Installing wayland-libs-egl (1.20.0-r0) 20:07:59 (46/80) Installing xkeyboard-config (2.35.1-r0) 20:07:59 (47/80) Installing xz-libs (5.2.5-r1) 20:07:59 (48/80) Installing libxml2 (2.9.14-r1) 20:07:59 (49/80) Installing libxkbcommon (1.4.1-r0) 20:07:59 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 20:07:59 (51/80) Installing mesa-egl (21.3.8-r2) 20:08:00 (52/80) Installing avahi-libs (0.8-r6) 20:08:00 (53/80) Installing nettle (3.7.3-r0) 20:08:00 (54/80) Installing p11-kit (0.24.1-r0) 20:08:00 (55/80) Installing libtasn1 (4.18.0-r0) 20:08:00 (56/80) Installing libunistring (1.0-r0) 20:08:00 (57/80) Installing gnutls (3.7.7-r0) 20:08:00 (58/80) Installing cups-libs (2.4.2-r0) 20:08:00 (59/80) Installing graphite2 (1.3.14-r1) 20:08:00 (60/80) Installing harfbuzz (4.3.0-r0) 20:08:00 (61/80) Installing libevdev (1.12.1-r0) 20:08:01 (62/80) Installing mtdev (1.1.6-r0) 20:08:01 (63/80) Installing eudev-libs (3.2.11-r0) 20:08:01 (64/80) Installing libinput-libs (1.20.1-r0) 20:08:01 (65/80) Installing libjpeg-turbo (2.1.3-r1) 20:08:01 (66/80) Installing xcb-util-wm (0.4.1-r1) 20:08:01 (67/80) Installing xcb-util (0.4.0-r3) 20:08:01 (68/80) Installing xcb-util-image (0.4.0-r1) 20:08:01 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 20:08:01 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 20:08:01 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 20:08:01 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 20:08:02 (73/80) Installing v4l-utils-libs (1.22.1-r1) 20:08:02 (74/80) Installing v4l-utils (1.22.1-r1) 20:08:02 (75/80) Installing udev-init-scripts (35-r0) 20:08:02 Executing udev-init-scripts-35-r0.post-install 20:08:02 (76/80) Installing kmod-libs (29-r2) 20:08:03 (77/80) Installing eudev (3.2.11-r0) 20:08:03 (78/80) Installing eudev-dev (3.2.11-r0) 20:08:03 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:08:03 (80/80) Installing v4l-utils-dev (1.22.1-r1) 20:08:03 Executing busybox-1.35.0-r17.trigger 20:08:03 Executing eudev-3.2.11-r0.trigger 20:08:03 OK: 330 MiB in 131 packages 20:08:06 Removing intermediate container 6b5db8a21580 20:08:06 ---> 31e3083ffc5a 20:08:06 Step 9/14 : WORKDIR /device-usb-camera 20:08:06 ---> Running in a506e15e2729 20:08:06 Removing intermediate container a506e15e2729 20:08:06 ---> ee152b23fc55 20:08:06 Step 10/14 : COPY go.mod vendor* ./ 20:08:06 ---> cc5c62ff0e5c 20:08:06 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:08:06 ---> Running in 1c748bc28d72 20:08:28 Removing intermediate container 1c748bc28d72 20:08:28 ---> 5eb14aabb8a5 20:08:28 Step 12/14 : COPY . . 20:08:28 ---> 49378f7f0ccb 20:08:28 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:08:28 ---> Running in bcaf391e40cd 20:08:28  % Total % Received % Xferd Average Speed Time Time Time Current 20:08:28 Dload Upload Total Spent Left Speed 20:08:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 47229 0 --:--:-- --:--:-- --:--:-- 48272 20:08:28 Removing intermediate container bcaf391e40cd 20:08:28 ---> 28e03ad2ea1a 20:08:28 Step 14/14 : RUN ${MAKE} 20:08:28 ---> Running in 49050cd03987 20:08:28 noop 20:08:28 Removing intermediate container 49050cd03987 20:08:28 ---> 9941d79ed8bd 20:08:28 Successfully built 9941d79ed8bd 20:08:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:28 + docker inspect -f . ci-base-image-x86_64 20:08:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:28 prd-ubuntu20.04-docker-8c-8g-7584 does not seem to be running inside a container 20:08:28 $ 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 20:08:29 $ docker top 2cc5518e996db5270dc1b10861385e0a39b756ce082b840ac411d4f3a8221fe5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:29 + go version 20:08:29 go version go1.18.7 linux/amd64 [Pipeline] } 20:08:29 $ docker stop --time=1 2cc5518e996db5270dc1b10861385e0a39b756ce082b840ac411d4f3a8221fe5 20:08:30 $ docker rm -f 2cc5518e996db5270dc1b10861385e0a39b756ce082b840ac411d4f3a8221fe5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:31 + docker inspect -f . ci-base-image-x86_64 20:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:31 prd-ubuntu20.04-docker-8c-8g-7584 does not seem to be running inside a container 20:08:31 $ 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 20:08:31 $ docker top aba79adce3eb7ce2ce02fe6ecfd069059e37d029fccbc18790201bf289cf413c -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:32 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 20:08:32 + make test 20:08:32 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:08:32 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:08:44 # github.com/edgexfoundry/device-usb-camera/internal/driver 20:08:44 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 20:08:44 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 20:08:44 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 20:08:44 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 20:08:44 $ docker stop --time=1 aba79adce3eb7ce2ce02fe6ecfd069059e37d029fccbc18790201bf289cf413c 20:08:47 $ docker rm -f aba79adce3eb7ce2ce02fe6ecfd069059e37d029fccbc18790201bf289cf413c [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 20:08:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:47 20:08:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:48 latest: Pulling from edgex-lftools-log-publisher 20:08:48 5eb5b503b376: Pulling fs layer 20:08:48 5c69ac0246d0: Pulling fs layer 20:08:48 ec43610c2a17: Pulling fs layer 20:08:48 3a2ae6a8a46f: Pulling fs layer 20:08:48 33b1e0a273af: Pulling fs layer 20:08:48 5d3b04190fa2: Pulling fs layer 20:08:48 2f39f015ded8: Pulling fs layer 20:08:48 3a2ae6a8a46f: Waiting 20:08:48 33b1e0a273af: Waiting 20:08:48 2f39f015ded8: Waiting 20:08:48 5d3b04190fa2: Waiting 20:08:48 5c69ac0246d0: Download complete 20:08:48 3a2ae6a8a46f: Verifying Checksum 20:08:48 3a2ae6a8a46f: Download complete 20:08:48 33b1e0a273af: Verifying Checksum 20:08:48 33b1e0a273af: Download complete 20:08:48 5d3b04190fa2: Verifying Checksum 20:08:48 5d3b04190fa2: Download complete 20:08:48 ec43610c2a17: Verifying Checksum 20:08:48 ec43610c2a17: Download complete 20:08:48 5eb5b503b376: Verifying Checksum 20:08:48 5eb5b503b376: Download complete 20:08:48 2f39f015ded8: Download complete 20:08:49 5eb5b503b376: Pull complete 20:08:49 5c69ac0246d0: Pull complete 20:08:50 ec43610c2a17: Pull complete 20:08:50 3a2ae6a8a46f: Pull complete 20:08:50 33b1e0a273af: Pull complete 20:08:50 5d3b04190fa2: Pull complete 20:08:54 2f39f015ded8: Pull complete 20:08:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:54 prd-ubuntu20.04-docker-8c-8g-7584 does not seem to be running inside a container 20:08:54 $ 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 20:08:57 $ docker top ca0e38311917d22b364f14bec4c40b9f30111d7005253c2e52462b94d6c8dc68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:58 ---> job-cost.sh 20:08:58 lf-activate-venv: SKIPPING 20:08:58 INFO: No Stack... 20:08:58 INFO: Retrieving Pricing Info for: v3-standard-8 20:08:58 INFO: Archiving Costs [Pipeline] sh 20:08:59 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 20:08:59 + cut -d, -f6 [Pipeline] lock 20:08:59 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-6-stack-cost] 20:08:59 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-6-stack-cost] did not exist. Created. 20:08:59 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:08:59 + echo total: 0.2199999988079071 [Pipeline] stash 20:08:59 Stashed 1 file(s) [Pipeline] } 20:08:59 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:08:59 $ docker stop --time=1 ca0e38311917d22b364f14bec4c40b9f30111d7005253c2e52462b94d6c8dc68 20:09:00 $ docker rm -f ca0e38311917d22b364f14bec4c40b9f30111d7005253c2e52462b94d6c8dc68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:09:00 Failed in branch amd64 20:10:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7586 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 20:10:59 Running in /w/workspace/device-usb-camera/6 [Pipeline] { [Pipeline] checkout 20:10:59 Selected Git installation does not exist. Using Default 20:10:59 The recommended git tool is: NONE 20:11:05 using credential edgex-jenkins-ssh 20:11:05 Cloning the remote Git repository 20:11:05 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:11:06 > git init /w/workspace/device-usb-camera/6 # timeout=10 20:11:06 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:11:06 > git --version # timeout=10 20:11:06 > git --version # 'git version 2.25.1' 20:11:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:06 Verifying host key using known hosts file 20:11:06 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. 20:11:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:11:07 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:11:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:11:08 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:11:08 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:11:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:08 Verifying host key using known hosts file 20:11:08 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. 20:11:08 > 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 20:11:08 Merging remotes/origin/main commit e381fef93e2e423e063e21a7b547118aa6f1cf75 into PR head commit 2ec960d98c73b06cd377fc44ea5d8f7646846d41 20:11:09 Merge succeeded, producing 2ec960d98c73b06cd377fc44ea5d8f7646846d41 20:11:09 Checking out Revision 2ec960d98c73b06cd377fc44ea5d8f7646846d41 (PR-99) 20:11:09 Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" 20:11:08 > git config core.sparsecheckout # timeout=10 20:11:09 > git checkout -f 2ec960d98c73b06cd377fc44ea5d8f7646846d41 # timeout=10 20:11:09 > git remote # timeout=10 20:11:09 > git config --get remote.origin.url # timeout=10 20:11:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:09 Verifying host key using known hosts file 20:11:09 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. 20:11:09 > git merge e381fef93e2e423e063e21a7b547118aa6f1cf75 # timeout=10 20:11:09 > git rev-parse HEAD^{commit} # timeout=10 20:11:09 > git config core.sparsecheckout # timeout=10 20:11:09 > git checkout -f 2ec960d98c73b06cd377fc44ea5d8f7646846d41 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:11:10 % Total % Received % Xferd Average Speed Time Time Time Current 20:11:10 Dload Upload Total Spent Left Speed 20:11:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 201k [Pipeline] sh 20:11:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:11:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:11:11 + sudo tee /etc/docker/daemon.new 20:11:11 { 20:11:11 "registry-mirrors": [ 20:11:11 "https://nexus3.edgexfoundry.org:10001" 20:11:11 ], 20:11:11 "bip": "10.250.0.254/24", 20:11:11 "hosts": [ 20:11:11 "tcp://0.0.0.0:5555", 20:11:11 "unix:///var/run/docker.sock" 20:11:11 ], 20:11:11 "mtu": 1458, 20:11:11 "selinux-enabled": true, 20:11:11 "seccomp-profile": "/etc/docker/seccomp.json" 20:11:11 } [Pipeline] sh 20:11:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:11:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:30 provisioning config files... 20:11:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/6@tmp/config9085226790083646245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:31 ---> docker-login.sh 20:11:31 nexus3.edgexfoundry.org:10001 20:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:32 Configure a credential helper to remove this warning. See 20:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:32 20:11:32 Login Succeeded 20:11:32 nexus3.edgexfoundry.org:10002 20:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:32 Configure a credential helper to remove this warning. See 20:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:32 20:11:32 Login Succeeded 20:11:32 nexus3.edgexfoundry.org:10003 20:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:32 Configure a credential helper to remove this warning. See 20:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:32 20:11:32 Login Succeeded 20:11:32 nexus3.edgexfoundry.org:10004 20:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:33 Configure a credential helper to remove this warning. See 20:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:33 20:11:33 Login Succeeded 20:11:33 docker.io 20:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:33 Configure a credential helper to remove this warning. See 20:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:33 20:11:33 Login Succeeded 20:11:33 ---> docker-login.sh ends [Pipeline] } 20:11:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:11:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:34 ========================================================= 20:11:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:11:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:34 + 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 . 20:11:34 Sending build context to Docker daemon 985.6kB 20:11:34 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:11:34 Step 2/14 : FROM ${BASE} AS builder 20:11:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:11:35 9b18e9b68314: Pulling fs layer 20:11:35 d32db5db7311: Pulling fs layer 20:11:35 d0c4b47475fc: Pulling fs layer 20:11:35 5831b945b038: Pulling fs layer 20:11:35 86bbec2aaacd: Pulling fs layer 20:11:35 e10730c5d714: Pulling fs layer 20:11:35 5dd5c2283517: Pulling fs layer 20:11:35 d5ac0230b979: Pulling fs layer 20:11:35 5831b945b038: Waiting 20:11:35 5dd5c2283517: Waiting 20:11:35 e10730c5d714: Waiting 20:11:35 d5ac0230b979: Waiting 20:11:35 86bbec2aaacd: Waiting 20:11:35 d0c4b47475fc: Verifying Checksum 20:11:35 d0c4b47475fc: Download complete 20:11:35 d32db5db7311: Download complete 20:11:35 86bbec2aaacd: Verifying Checksum 20:11:35 86bbec2aaacd: Download complete 20:11:35 e10730c5d714: Verifying Checksum 20:11:35 e10730c5d714: Download complete 20:11:35 9b18e9b68314: Download complete 20:11:36 9b18e9b68314: Pull complete 20:11:36 d5ac0230b979: Verifying Checksum 20:11:36 d5ac0230b979: Download complete 20:11:36 d32db5db7311: Pull complete 20:11:36 d0c4b47475fc: Pull complete 20:11:37 5dd5c2283517: Verifying Checksum 20:11:37 5dd5c2283517: Download complete 20:11:38 5831b945b038: Verifying Checksum 20:11:38 5831b945b038: Download complete 20:11:50 5831b945b038: Pull complete 20:11:50 86bbec2aaacd: Pull complete 20:11:50 e10730c5d714: Pull complete 20:11:57 5dd5c2283517: Pull complete 20:11:59 d5ac0230b979: Pull complete 20:11:59 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:11:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:11:59 ---> 59b3b1a385d4 20:11:59 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:12:00 ---> Running in c8df6b0b83c9 20:12:01 Removing intermediate container c8df6b0b83c9 20:12:01 ---> 89f2a805a8c0 20:12:01 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:01 ---> Running in 6cd2ee221db6 20:12:01 Removing intermediate container 6cd2ee221db6 20:12:01 ---> 65f5b58d8647 20:12:01 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:12:01 ---> Running in 7da589a8f037 20:12:02 Removing intermediate container 7da589a8f037 20:12:02 ---> 90a90227b420 20:12:02 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:12:02 ---> Running in ab2fcfeb273c 20:12:02 Removing intermediate container ab2fcfeb273c 20:12:02 ---> 7b448a72792f 20:12:02 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:02 ---> Running in df8d4c66ee75 20:12:04 Removing intermediate container df8d4c66ee75 20:12:04 ---> a2e3c6f19d0c 20:12:04 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:04 ---> Running in 19cc2299a466 20:12:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:12:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:12:07 (1/14) Installing libintl (0.21-r2) 20:12:07 (2/14) Installing eudev-libs (3.2.11-r0) 20:12:07 (3/14) Installing libjpeg-turbo (2.1.3-r1) 20:12:07 (4/14) Installing v4l-utils-libs (1.22.1-r1) 20:12:08 (5/14) Installing v4l-utils (1.22.1-r1) 20:12:08 (6/14) Installing udev-init-scripts (35-r0) 20:12:08 Executing udev-init-scripts-35-r0.post-install 20:12:08 (7/14) Installing libblkid (2.38-r1) 20:12:08 (8/14) Installing xz-libs (5.2.5-r1) 20:12:08 (9/14) Installing zstd-libs (1.5.2-r1) 20:12:08 (10/14) Installing kmod-libs (29-r2) 20:12:08 (11/14) Installing eudev (3.2.11-r0) 20:12:08 (12/14) Installing eudev-dev (3.2.11-r0) 20:12:08 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:12:08 (14/14) Installing v4l-utils-dev (1.22.1-r1) 20:12:09 Executing busybox-1.35.0-r17.trigger 20:12:09 Executing eudev-3.2.11-r0.trigger 20:12:09 OK: 228 MiB in 65 packages 20:12:10 Removing intermediate container 19cc2299a466 20:12:10 ---> 5a3d9cc79408 20:12:10 Step 9/14 : WORKDIR /device-usb-camera 20:12:10 ---> Running in 3f3a798affee 20:12:10 Removing intermediate container 3f3a798affee 20:12:10 ---> 1d49a1863b3b 20:12:10 Step 10/14 : COPY go.mod vendor* ./ 20:12:11 ---> 38dcac872acc 20:12:11 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:11 ---> Running in 4ec58e246a49 20:13:19 Removing intermediate container 4ec58e246a49 20:13:19 ---> 12fa20cb92f8 20:13:19 Step 12/14 : COPY . . 20:13:19 ---> 4574de13d989 20:13:19 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:13:19 ---> Running in 92a2a1f59501 20:13:19  % Total % Received % Xferd Average Speed Time Time Time Current 20:13:19 Dload Upload Total Spent Left Speed 20:13:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12626 0 --:--:-- --:--:-- --:--:-- 12795 20:13:19 Removing intermediate container 92a2a1f59501 20:13:19 ---> bfd8acd7ae26 20:13:19 Step 14/14 : RUN ${MAKE} 20:13:19 ---> Running in 51258a9b0cca 20:13:19 noop 20:13:19 Removing intermediate container 51258a9b0cca 20:13:19 ---> f00bc8d91092 20:13:19 Successfully built f00bc8d91092 20:13:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:19 + docker inspect -f . ci-base-image-arm64 20:13:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:19 prd-ubuntu20.04-docker-arm64-4c-16g-7586 does not seem to be running inside a container 20:13:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@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 20:13:21 $ docker top 09f2852ba79151680d8a514cca67e8e96d8c87c17d2a7c9fc4867e8775c048fd -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:22 + go version 20:13:22 go version go1.18.7 linux/arm64 [Pipeline] } 20:13:22 $ docker stop --time=1 09f2852ba79151680d8a514cca67e8e96d8c87c17d2a7c9fc4867e8775c048fd 20:13:23 $ docker rm -f 09f2852ba79151680d8a514cca67e8e96d8c87c17d2a7c9fc4867e8775c048fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:24 + docker inspect -f . ci-base-image-arm64 20:13:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:24 prd-ubuntu20.04-docker-arm64-4c-16g-7586 does not seem to be running inside a container 20:13:24 $ 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/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@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 20:13:27 $ docker top 0e0597d47fca166ee448ad4a0a734d0187782321b0c76c62171ee0c06173e87c -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:27 + git config --global --add safe.directory /w/workspace/device-usb-camera/6 [Pipeline] fileExists [Pipeline] sh 20:13:28 + make test 20:13:28 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:13:30 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:15:22 # github.com/edgexfoundry/device-usb-camera/internal/driver 20:15:22 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 20:15:22 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 20:15:22 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 20:15:22 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 20:15:22 $ docker stop --time=1 0e0597d47fca166ee448ad4a0a734d0187782321b0c76c62171ee0c06173e87c 20:15:24 $ docker rm -f 0e0597d47fca166ee448ad4a0a734d0187782321b0c76c62171ee0c06173e87c [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 20:15:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:25 20:15:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:25 arm64: Pulling from edgex-lftools-log-publisher 20:15:25 8998bd30e6a1: Pulling fs layer 20:15:25 04944245beec: Pulling fs layer 20:15:25 699f458cf7ca: Pulling fs layer 20:15:25 765212b225bb: Pulling fs layer 20:15:25 f23df028b6ca: Pulling fs layer 20:15:25 d65c8cfc05b1: Pulling fs layer 20:15:25 2437ff75d9bd: Pulling fs layer 20:15:25 765212b225bb: Waiting 20:15:25 f23df028b6ca: Waiting 20:15:25 2437ff75d9bd: Waiting 20:15:25 d65c8cfc05b1: Waiting 20:15:25 04944245beec: Verifying Checksum 20:15:25 04944245beec: Download complete 20:15:25 765212b225bb: Verifying Checksum 20:15:25 765212b225bb: Download complete 20:15:26 f23df028b6ca: Verifying Checksum 20:15:26 f23df028b6ca: Download complete 20:15:26 d65c8cfc05b1: Verifying Checksum 20:15:26 d65c8cfc05b1: Download complete 20:15:26 699f458cf7ca: Verifying Checksum 20:15:26 699f458cf7ca: Download complete 20:15:26 8998bd30e6a1: Download complete 20:15:31 2437ff75d9bd: Verifying Checksum 20:15:31 2437ff75d9bd: Download complete 20:15:33 8998bd30e6a1: Pull complete 20:15:34 04944245beec: Pull complete 20:15:36 699f458cf7ca: Pull complete 20:15:36 765212b225bb: Pull complete 20:15:37 f23df028b6ca: Pull complete 20:15:38 d65c8cfc05b1: Pull complete 20:15:56 2437ff75d9bd: Pull complete 20:15:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:56 prd-ubuntu20.04-docker-arm64-4c-16g-7586 does not seem to be running inside a container 20:15:56 $ 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/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@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 20:15:59 $ docker top 171f740f8b7062ebae24d4a027a93d2cca25ca8cba30ea4e70bc911c3a93fbcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:00 ---> job-cost.sh 20:16:00 lf-activate-venv: SKIPPING 20:16:00 INFO: No Stack... 20:16:00 INFO: Retrieving Pricing Info for: v3-standard-4 20:16:01 INFO: Archiving Costs [Pipeline] sh 20:16:02 + cut -d, -f6 20:16:02 + cat /w/workspace/device-usb-camera/6/archives/cost.csv [Pipeline] lock 20:16:02 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-6-stack-cost] 20:16:02 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-6-stack-cost] did not exist. Created. 20:16:02 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:16:03 /w/workspace/device-usb-camera/6@tmp/durable-c8b574e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:16:03 + echo total: 0.10999999940395355 [Pipeline] stash 20:16:03 Warning: overwriting stash ‘stack-cost’ 20:16:04 Stashed 1 file(s) [Pipeline] } 20:16:04 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:16:04 $ docker stop --time=1 171f740f8b7062ebae24d4a027a93d2cca25ca8cba30ea4e70bc911c3a93fbcd 20:16:06 $ docker rm -f 171f740f8b7062ebae24d4a027a93d2cca25ca8cba30ea4e70bc911c3a93fbcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:16:06 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 20:16:07 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 20:16:07 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 20:16:07 total 16 20:16:07 drwxr-xr-x 3 root root 4096 Oct 10 20:08 . 20:16:07 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 20:08 .. 20:16:07 drwxr-xr-x 2 root root 4096 Oct 10 20:08 cost 20:16:07 -rw-r--r-- 1 root root 88 Oct 10 20:08 cost.csv 20:16:07 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 20:16:07 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 20:16:07 total 16 20:16:07 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 20:08 . 20:16:07 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 20:08 .. 20:16:07 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 20:08 cost 20:16:07 -rw-r--r-- 1 jenkins jenkins 88 Oct 10 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:16:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:16:08 ---> package-listing.sh 20:16:08 ++ facter osfamily 20:16:08 ++ tr '[:upper:]' '[:lower:]' 20:16:08 + OS_FAMILY=debian 20:16:08 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 20:16:08 + START_PACKAGES=/tmp/packages_start.txt 20:16:08 + END_PACKAGES=/tmp/packages_end.txt 20:16:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:16:08 + PACKAGES=/tmp/packages_start.txt 20:16:08 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 20:16:08 + PACKAGES=/tmp/packages_end.txt 20:16:08 + case "${OS_FAMILY}" in 20:16:08 + dpkg -l 20:16:08 + grep '^ii' 20:16:08 + '[' -f /tmp/packages_start.txt ']' 20:16:08 + '[' -f /tmp/packages_end.txt ']' 20:16:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:16:08 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 20:16:08 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 20:16:08 + 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 20:16:08 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 20:16:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:09 prd-ubuntu20.04-docker-8c-8g-7584 does not seem to be running inside a container 20:16:09 $ 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 20:16:10 $ docker top 789dac47d3470c5c5f9e3d6b78d48c20d7e858674867ca6eb8c1a331bdc3607f -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:10 + touch /tmp/pre-build-complete [Pipeline] sh 20:16:10 + mkdir -p /var/log/sysstat [Pipeline] sh 20:16:11 + ls /var/log/sa-host 20:16:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:11 provisioning config files... 20:16:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config18303129478251961971tmp [Pipeline] { [Pipeline] echo 20:16:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:16:11 ---> create-netrc.sh [Pipeline] } 20:16:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:16:11 ---> python-tools-install.sh [Pipeline] echo 20:16:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:16:12 ---> sudo-logs.sh 20:16:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:16:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:16:12 ---> job-cost.sh 20:16:12 lf-activate-venv: SKIPPING 20:16:12 DEBUG: total: 0.2199999988079071 20:16:12 INFO: Retrieving Stack Cost... 20:16:13 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:13 INFO: Archiving Costs [Pipeline] echo 20:16:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:16:13 ---> logs-deploy.sh 20:16:13 lf-activate-venv: SKIPPING 20:16:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/6 20:16:13 INFO: archiving workspace using pattern(s): 20:16:16 Archives upload complete. 20:16:17 INFO: archiving logs to Nexus 20:16:17 ---> uname -a: 20:16:17 Linux prd-ubuntu20-04-docker-8c-8g-7584 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:16:17 20:16:17 20:16:17 ---> lscpu: 20:16:17 Architecture: x86_64 20:16:17 CPU op-mode(s): 32-bit, 64-bit 20:16:17 Byte Order: Little Endian 20:16:17 Address sizes: 40 bits physical, 48 bits virtual 20:16:17 CPU(s): 8 20:16:17 On-line CPU(s) list: 0-7 20:16:17 Thread(s) per core: 1 20:16:17 Core(s) per socket: 1 20:16:17 Socket(s): 8 20:16:17 NUMA node(s): 1 20:16:17 Vendor ID: AuthenticAMD 20:16:17 CPU family: 23 20:16:17 Model: 49 20:16:17 Model name: AMD EPYC-Rome Processor 20:16:17 Stepping: 0 20:16:17 CPU MHz: 2799.998 20:16:17 BogoMIPS: 5599.99 20:16:17 Virtualization: AMD-V 20:16:17 Hypervisor vendor: KVM 20:16:17 Virtualization type: full 20:16:17 L1d cache: 256 KiB 20:16:17 L1i cache: 256 KiB 20:16:17 L2 cache: 4 MiB 20:16:17 L3 cache: 128 MiB 20:16:17 NUMA node0 CPU(s): 0-7 20:16:17 Vulnerability Itlb multihit: Not affected 20:16:17 Vulnerability L1tf: Not affected 20:16:17 Vulnerability Mds: Not affected 20:16:17 Vulnerability Meltdown: Not affected 20:16:17 Vulnerability Mmio stale data: Not affected 20:16:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:16:17 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:16:17 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:16:17 Vulnerability Srbds: Not affected 20:16:17 Vulnerability Tsx async abort: Not affected 20:16:17 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:16:17 20:16:17 20:16:17 ---> nproc: 20:16:17 8 20:16:17 20:16:17