Pull request #99 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c682c489a73e90a30d7b0fb1efc2d3ffd57612a1+695cbf35e7563b7af803532131954c37e2b367cb (59d838d8423a409e7e9ee2179a2236813669e88c) 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-ssh17387891090203856081.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh797035652640894386.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6683402330626257187.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh4315780537284589577.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-ssh9752797258916484096.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-8410 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 695cbf35e7563b7af803532131954c37e2b367cb into PR head commit c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 > 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 c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 # timeout=10 Merge succeeded, producing c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 Checking out Revision c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 (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:27:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:27:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:27:37 ========================================================= 20:27:37 EdgeX Global Pipelines Version Info 20:27:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > 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 695cbf35e7563b7af803532131954c37e2b367cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 # timeout=10 > git rev-list --no-walk 2ec960d98c73b06cd377fc44ea5d8f7646846d41 # timeout=10 20:27:38 ------------------- 20:27:38 stable info: 20:27:38 ------------------- 20:27:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:27:38 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:27:38 Message: update stable to v1.0.243 20:27:38 ------------------- 20:27:38 experimental info: 20:27:38 ------------------- 20:27:38 Commited By: **** collab-it+edgex@linuxfoundation.org 20:27:38 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:27:38 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c682c48 [Pipeline] echo 20:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:39 provisioning config files... 20:27:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config804199371238886268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:39 ---> docker-login.sh 20:27:39 nexus3.edgexfoundry.org:10001 20:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:39 Configure a credential helper to remove this warning. See 20:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:39 20:27:39 Login Succeeded 20:27:39 nexus3.edgexfoundry.org:10002 20:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:39 Configure a credential helper to remove this warning. See 20:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:39 20:27:39 Login Succeeded 20:27:39 nexus3.edgexfoundry.org:10003 20:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:40 Configure a credential helper to remove this warning. See 20:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:40 20:27:40 Login Succeeded 20:27:40 nexus3.edgexfoundry.org:10004 20:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:40 Configure a credential helper to remove this warning. See 20:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:40 20:27:40 Login Succeeded 20:27:40 docker.io 20:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:40 Configure a credential helper to remove this warning. See 20:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:40 20:27:40 Login Succeeded 20:27:40 ---> docker-login.sh ends [Pipeline] } 20:27:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:27:41 + git rev-list -1 --merges c682c489a73e90a30d7b0fb1efc2d3ffd57612a1~1..c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 [Pipeline] echo 20:27:41 -----------> git rev-list -1 --merges c682c489a73e90a30d7b0fb1efc2d3ffd57612a1~1..c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 [false] [Pipeline] sh 20:27:41 + git log --format=format:%s -1 c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 [Pipeline] echo 20:27:41 ========================================================= 20:27:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:27:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:41 + git log --format=format:%s -1 c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 [Pipeline] echo 20:27:41 [semverPrep] GIT_COMMIT: c682c489a73e90a30d7b0fb1efc2d3ffd57612a1, Commit Message: build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5 [Pipeline] echo 20:27:41 [semverPrep] This is not a build commit. [Pipeline] sh 20:27:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:27:42 + grep -v github /etc/ssh/ssh_known_hosts 20:27:42 + [ -e /tmp/ssh_known_hosts ] 20:27:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:27:42 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:27:42 sudo tee -a /etc/ssh/ssh_known_hosts 20:27:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:42 20:27:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:42 0.1.4: Pulling from edgex-devops/py-git-semver 20:27:42 b85a868b505f: Pulling fs layer 20:27:42 e2be974225ed: Pulling fs layer 20:27:42 339a4e72a1f5: Pulling fs layer 20:27:42 988bab9f4d93: Pulling fs layer 20:27:42 1469e6f7b9e6: Pulling fs layer 20:27:42 eaf3925da568: Pulling fs layer 20:27:42 bab4dde63d76: Pulling fs layer 20:27:42 bde34c3a00c8: Pulling fs layer 20:27:42 b352a97aabf1: Pulling fs layer 20:27:42 4872d77fe225: Pulling fs layer 20:27:42 5851b861e8e6: Pulling fs layer 20:27:42 eaf3925da568: Waiting 20:27:42 988bab9f4d93: Waiting 20:27:42 1469e6f7b9e6: Waiting 20:27:42 4872d77fe225: Waiting 20:27:42 bab4dde63d76: Waiting 20:27:42 b352a97aabf1: Waiting 20:27:42 5851b861e8e6: Waiting 20:27:42 e2be974225ed: Verifying Checksum 20:27:42 e2be974225ed: Download complete 20:27:42 988bab9f4d93: Verifying Checksum 20:27:42 988bab9f4d93: Download complete 20:27:42 1469e6f7b9e6: Verifying Checksum 20:27:42 1469e6f7b9e6: Download complete 20:27:42 eaf3925da568: Verifying Checksum 20:27:42 eaf3925da568: Download complete 20:27:42 339a4e72a1f5: Verifying Checksum 20:27:42 339a4e72a1f5: Download complete 20:27:42 bde34c3a00c8: Verifying Checksum 20:27:42 bde34c3a00c8: Download complete 20:27:42 b352a97aabf1: Verifying Checksum 20:27:42 b352a97aabf1: Download complete 20:27:42 4872d77fe225: Download complete 20:27:42 5851b861e8e6: Download complete 20:27:42 b85a868b505f: Verifying Checksum 20:27:42 b85a868b505f: Download complete 20:27:43 bab4dde63d76: Verifying Checksum 20:27:43 bab4dde63d76: Download complete 20:27:44 b85a868b505f: Pull complete 20:27:44 e2be974225ed: Pull complete 20:27:44 339a4e72a1f5: Pull complete 20:27:44 988bab9f4d93: Pull complete 20:27:45 1469e6f7b9e6: Pull complete 20:27:45 eaf3925da568: Pull complete 20:27:47 bab4dde63d76: Pull complete 20:27:47 bde34c3a00c8: Pull complete 20:27:47 b352a97aabf1: Pull complete 20:27:47 4872d77fe225: Pull complete 20:27:47 5851b861e8e6: Pull complete 20:27:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:47 prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container 20:27:47 $ 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:27:48 $ docker top 8021b12fe52266de304e66c36d42b6d4aa0d9442d5f3f883f3e80734f59aafa7 -eo pid,comm 20:27:48 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:27:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:27:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:48 [ssh-agent] Looking for ssh-agent implementation... 20:27:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:48 $ docker exec 8021b12fe52266de304e66c36d42b6d4aa0d9442d5f3f883f3e80734f59aafa7 ssh-agent 20:27:48 SSH_AUTH_SOCK=/tmp/ssh-j435fSYz3lGk/agent.32 20:27:48 SSH_AGENT_PID=38 20:27:49 Running ssh-add (command line suppressed) 20:27:49 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_14166235680446698587.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_14166235680446698587.key) 20:27:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:49 + git tag --points-at HEAD [Pipeline] } 20:27:49 $ docker exec --env ******** --env ******** 8021b12fe52266de304e66c36d42b6d4aa0d9442d5f3f883f3e80734f59aafa7 ssh-agent -k 20:27:49 unset SSH_AUTH_SOCK; 20:27:49 unset SSH_AGENT_PID; 20:27:49 echo Agent pid 38 killed; 20:27:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:27:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:49 [ssh-agent] Looking for ssh-agent implementation... 20:27:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:49 $ docker exec 8021b12fe52266de304e66c36d42b6d4aa0d9442d5f3f883f3e80734f59aafa7 ssh-agent 20:27:49 SSH_AUTH_SOCK=/tmp/ssh-70NObmTRGL3j/agent.70 20:27:49 SSH_AGENT_PID=76 20:27:49 Running ssh-add (command line suppressed) 20:27:49 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_883245338307999857.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_883245338307999857.key) 20:27:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:50 + git semver init 20:27:50 2022-10-17 20:27:50,404 [run_init] DEBUG init version:0.0.0 force:False 20:27:50 2022-10-17 20:27:50,405 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 20:27:50 2022-10-17 20:27:50,406 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 20:27:50 2022-10-17 20:27:50,406 [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:27:51 2022-10-17 20:27:51,192 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 20:27:51 2022-10-17 20:27:51,192 [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:27:51 2022-10-17 20:27:51,193 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 20:27:51 2022-10-17 20:27:51,197 [execute] INFO git cat-file --batch-check 20:27:51 2022-10-17 20:27:51,197 [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:27:51 2022-10-17 20:27:51,204 [execute] INFO git cat-file --batch 20:27:51 2022-10-17 20:27:51,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 20:27:51 2022-10-17 20:27:51,209 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 20:27:51 0.0.0 [Pipeline] } 20:27:51 $ docker exec --env ******** --env ******** 8021b12fe52266de304e66c36d42b6d4aa0d9442d5f3f883f3e80734f59aafa7 ssh-agent -k 20:27:51 unset SSH_AUTH_SOCK; 20:27:51 unset SSH_AGENT_PID; 20:27:51 echo Agent pid 76 killed; 20:27:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:27:51 + git semver [Pipeline] } 20:27:52 $ docker stop --time=1 8021b12fe52266de304e66c36d42b6d4aa0d9442d5f3f883f3e80734f59aafa7 20:27:53 $ docker rm -f 8021b12fe52266de304e66c36d42b6d4aa0d9442d5f3f883f3e80734f59aafa7 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:27:53 Stashed 1 file(s) [Pipeline] echo 20:27:53 [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:27:54 provisioning config files... 20:27:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config10709680757357533683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:54 ---> docker-login.sh 20:27:54 nexus3.edgexfoundry.org:10001 20:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:54 Configure a credential helper to remove this warning. See 20:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:54 20:27:54 Login Succeeded 20:27:54 nexus3.edgexfoundry.org:10002 20:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:54 Configure a credential helper to remove this warning. See 20:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:54 20:27:54 Login Succeeded 20:27:54 nexus3.edgexfoundry.org:10003 20:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:54 Configure a credential helper to remove this warning. See 20:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:54 20:27:54 Login Succeeded 20:27:54 nexus3.edgexfoundry.org:10004 20:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:54 Configure a credential helper to remove this warning. See 20:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:54 20:27:54 Login Succeeded 20:27:54 docker.io 20:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:55 Configure a credential helper to remove this warning. See 20:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:55 20:27:55 Login Succeeded 20:27:55 ---> docker-login.sh ends [Pipeline] } 20:27:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:55 ========================================================= 20:27:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:27:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:55 + 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:27:55 Sending build context to Docker daemon 1.517MB 20:27:55 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:27:55 Step 2/14 : FROM ${BASE} AS builder 20:27:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:27:55 213ec9aee27d: Pulling fs layer 20:27:55 4583459ba037: Pulling fs layer 20:27:55 93c1e223e6f2: Pulling fs layer 20:27:55 53926ce57604: Pulling fs layer 20:27:55 21b2b0c7a3f4: Pulling fs layer 20:27:55 30f14e443154: Pulling fs layer 20:27:55 53926ce57604: Waiting 20:27:55 801331c1e519: Pulling fs layer 20:27:55 99cc6dd402b0: Pulling fs layer 20:27:55 21b2b0c7a3f4: Waiting 20:27:55 7d9ed39f4882: Pulling fs layer 20:27:55 30f14e443154: Waiting 20:27:55 801331c1e519: Waiting 20:27:55 99cc6dd402b0: Waiting 20:27:55 7d9ed39f4882: Waiting 20:27:55 93c1e223e6f2: Verifying Checksum 20:27:55 93c1e223e6f2: Download complete 20:27:55 4583459ba037: Download complete 20:27:55 21b2b0c7a3f4: Verifying Checksum 20:27:55 21b2b0c7a3f4: Download complete 20:27:55 30f14e443154: Download complete 20:27:55 213ec9aee27d: Verifying Checksum 20:27:55 213ec9aee27d: Download complete 20:27:55 801331c1e519: Verifying Checksum 20:27:55 801331c1e519: Download complete 20:27:55 213ec9aee27d: Pull complete 20:27:56 4583459ba037: Pull complete 20:27:56 93c1e223e6f2: Pull complete 20:27:56 7d9ed39f4882: Verifying Checksum 20:27:56 53926ce57604: Verifying Checksum 20:27:56 53926ce57604: Download complete 20:27:56 99cc6dd402b0: Verifying Checksum 20:27:56 99cc6dd402b0: Download complete 20:27:59 53926ce57604: Pull complete 20:27:59 21b2b0c7a3f4: Pull complete 20:28:00 30f14e443154: Pull complete 20:28:00 801331c1e519: Pull complete 20:28:02 99cc6dd402b0: Pull complete 20:28:02 7d9ed39f4882: Pull complete 20:28:02 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:28:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:28:02 ---> 1dedd983c030 20:28:02 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:28:04 ---> Running in b11788563c92 20:28:04 Removing intermediate container b11788563c92 20:28:04 ---> a2a9a056f8a2 20:28:04 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:28:04 ---> Running in 827ef7885ef0 20:28:04 Removing intermediate container 827ef7885ef0 20:28:04 ---> 546f741bcd65 20:28:04 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:28:04 ---> Running in 3af37b9d10f0 20:28:04 Removing intermediate container 3af37b9d10f0 20:28:04 ---> c7197a6c53e1 20:28:04 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:28:04 ---> Running in 38fcf0b6665f 20:28:04 Removing intermediate container 38fcf0b6665f 20:28:04 ---> 88458b5d4d1c 20:28:04 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:04 ---> Running in 0c393f0325c5 20:28:05 Removing intermediate container 0c393f0325c5 20:28:05 ---> 5a14ccbcc9d6 20:28:05 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:05 ---> Running in 340d299705fd 20:28:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:28:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:28:06 (1/80) Installing mesa (21.3.8-r2) 20:28:06 (2/80) Installing libxau (1.0.9-r0) 20:28:06 (3/80) Installing libxdmcp (1.1.3-r0) 20:28:06 (4/80) Installing libxcb (1.15-r0) 20:28:06 (5/80) Installing libx11 (1.8-r0) 20:28:07 (6/80) Installing libxext (1.3.4-r0) 20:28:07 (7/80) Installing libxfixes (6.0.0-r0) 20:28:07 (8/80) Installing libxxf86vm (1.1.4-r2) 20:28:07 (9/80) Installing libpciaccess (0.16-r0) 20:28:07 (10/80) Installing libdrm (2.4.110-r0) 20:28:07 (11/80) Installing mesa-glapi (21.3.8-r2) 20:28:07 (12/80) Installing libxshmfence (1.3-r1) 20:28:07 (13/80) Installing mesa-gl (21.3.8-r2) 20:28:07 (14/80) Installing icu-data-full (71.1-r2) 20:28:08 (15/80) Installing libice (1.0.10-r0) 20:28:08 (16/80) Installing libuuid (2.38-r1) 20:28:08 (17/80) Installing libsm (1.2.3-r0) 20:28:08 (18/80) Installing libxt (1.2.1-r0) 20:28:08 (19/80) Installing libxmu (1.1.3-r0) 20:28:08 (20/80) Installing xset (1.2.4-r0) 20:28:08 Still waiting to schedule task 20:28:08 ‘prd-centos7-blackbox-4c-2g-7901’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:28:08 ‘prd-ubuntu20.04-docker-8c-8g-8408’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:28:08 ‘prd-ubuntu20.04-docker-8c-8g-8412’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:28:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8411’ is offline 20:28:09 (21/80) Installing xprop (1.2.5-r0) 20:28:09 (22/80) Installing xdg-utils (1.1.3-r3) 20:28:09 (23/80) Installing dbus-libs (1.14.4-r0) 20:28:09 (24/80) Installing libffi (3.4.2-r1) 20:28:09 (25/80) Installing libintl (0.21-r2) 20:28:09 (26/80) Installing libblkid (2.38-r1) 20:28:09 (27/80) Installing libmount (2.38-r1) 20:28:09 (28/80) Installing pcre (8.45-r2) 20:28:09 (29/80) Installing glib (2.72.1-r0) 20:28:09 (30/80) Installing icu-libs (71.1-r2) 20:28:09 (31/80) Installing libpcre2-16 (10.40-r0) 20:28:10 (32/80) Installing zstd-libs (1.5.2-r1) 20:28:10 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 20:28:10 (34/80) Installing hicolor-icon-theme (0.17-r1) 20:28:10 (35/80) Installing wayland-libs-server (1.20.0-r0) 20:28:10 (36/80) Installing mesa-gbm (21.3.8-r2) 20:28:10 (37/80) Installing wayland-libs-client (1.20.0-r0) 20:28:10 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 20:28:11 (39/80) Installing libxcomposite (0.4.5-r0) 20:28:11 (40/80) Installing libbz2 (1.0.8-r1) 20:28:11 (41/80) Installing libpng (1.6.37-r1) 20:28:11 (42/80) Installing freetype (2.12.1-r0) 20:28:11 (43/80) Installing fontconfig (2.14.0-r0) 20:28:11 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 20:28:11 (45/80) Installing wayland-libs-egl (1.20.0-r0) 20:28:11 (46/80) Installing xkeyboard-config (2.35.1-r0) 20:28:11 (47/80) Installing xz-libs (5.2.5-r1) 20:28:12 (48/80) Installing libxml2 (2.9.14-r2) 20:28:12 (49/80) Installing libxkbcommon (1.4.1-r0) 20:28:12 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 20:28:12 (51/80) Installing mesa-egl (21.3.8-r2) 20:28:12 (52/80) Installing avahi-libs (0.8-r6) 20:28:12 (53/80) Installing nettle (3.7.3-r0) 20:28:12 (54/80) Installing p11-kit (0.24.1-r0) 20:28:12 (55/80) Installing libtasn1 (4.18.0-r0) 20:28:13 (56/80) Installing libunistring (1.0-r0) 20:28:13 (57/80) Installing gnutls (3.7.7-r0) 20:28:13 (58/80) Installing cups-libs (2.4.2-r0) 20:28:13 (59/80) Installing graphite2 (1.3.14-r1) 20:28:13 (60/80) Installing harfbuzz (4.3.0-r0) 20:28:13 (61/80) Installing libevdev (1.12.1-r0) 20:28:13 (62/80) Installing mtdev (1.1.6-r0) 20:28:13 (63/80) Installing eudev-libs (3.2.11-r0) 20:28:13 (64/80) Installing libinput-libs (1.20.1-r0) 20:28:13 (65/80) Installing libjpeg-turbo (2.1.3-r1) 20:28:14 (66/80) Installing xcb-util-wm (0.4.1-r1) 20:28:14 (67/80) Installing xcb-util (0.4.0-r3) 20:28:14 (68/80) Installing xcb-util-image (0.4.0-r1) 20:28:14 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 20:28:14 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 20:28:14 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 20:28:14 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 20:28:15 (73/80) Installing v4l-utils-libs (1.22.1-r1) 20:28:15 (74/80) Installing v4l-utils (1.22.1-r1) 20:28:15 (75/80) Installing udev-init-scripts (35-r0) 20:28:15 Executing udev-init-scripts-35-r0.post-install 20:28:15 (76/80) Installing kmod-libs (29-r2) 20:28:15 (77/80) Installing eudev (3.2.11-r0) 20:28:15 (78/80) Installing eudev-dev (3.2.11-r0) 20:28:15 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:28:15 (80/80) Installing v4l-utils-dev (1.22.1-r1) 20:28:15 Executing busybox-1.35.0-r17.trigger 20:28:15 Executing eudev-3.2.11-r0.trigger 20:28:15 OK: 330 MiB in 131 packages 20:28:17 Removing intermediate container 340d299705fd 20:28:17 ---> 31d7631946ec 20:28:17 Step 9/14 : WORKDIR /device-usb-camera 20:28:17 ---> Running in 8f0f8ad1ed54 20:28:17 Removing intermediate container 8f0f8ad1ed54 20:28:17 ---> 0a7c7804df78 20:28:17 Step 10/14 : COPY go.mod vendor* ./ 20:28:17 ---> f6699f13405e 20:28:17 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:17 ---> Running in 0da7bbf13185 20:28:32 Removing intermediate container 0da7bbf13185 20:28:32 ---> e5b5cf0e5c9c 20:28:32 Step 12/14 : COPY . . 20:28:32 ---> 64b726b480c1 20:28:32 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:28:32 ---> Running in 904a2dab726c 20:28:32  % Total % Received % Xferd Average Speed Time Time Time Current 20:28:32 Dload Upload Total Spent Left Speed 20:28:32 0 0  0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45910 0 --:--:-- --:--:-- --:--:-- 46173 20:28:32 Removing intermediate container 904a2dab726c 20:28:32 ---> 4cd768c78bd6 20:28:32 Step 14/14 : RUN ${MAKE} 20:28:32 ---> Running in 53a6ec0d4f87 20:28:32 noop 20:28:33 Removing intermediate container 53a6ec0d4f87 20:28:33 ---> a07361d6f496 20:28:33 Successfully built a07361d6f496 20:28:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:33 + docker inspect -f . ci-base-image-x86_64 20:28:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:33 prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container 20:28:33 $ 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:28:33 $ docker top c8b4a8f45a5beb7d175ee04a98bc883d2d671cd244e9ebc657c4678398a24aee -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:34 + go version 20:28:34 go version go1.18.7 linux/amd64 [Pipeline] } 20:28:34 $ docker stop --time=1 c8b4a8f45a5beb7d175ee04a98bc883d2d671cd244e9ebc657c4678398a24aee 20:28:35 $ docker rm -f c8b4a8f45a5beb7d175ee04a98bc883d2d671cd244e9ebc657c4678398a24aee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:35 + docker inspect -f . ci-base-image-x86_64 20:28:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:36 prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container 20:28:36 $ 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:28:36 $ docker top cca1868256df9b6cbe50a01e68e3fda86180073719ca64f75365d71e398dbe5f -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:36 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 20:28:37 + make test 20:28:37 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:28:37 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:28:49 # github.com/edgexfoundry/device-usb-camera/internal/driver 20:28:49 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 20:28:49 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 20:28:49 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 20:28:49 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 20:28:49 $ docker stop --time=1 cca1868256df9b6cbe50a01e68e3fda86180073719ca64f75365d71e398dbe5f 20:28:51 $ docker rm -f cca1868256df9b6cbe50a01e68e3fda86180073719ca64f75365d71e398dbe5f [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:28:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:51 20:28:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:52 latest: Pulling from edgex-lftools-log-publisher 20:28:52 5eb5b503b376: Pulling fs layer 20:28:52 5c69ac0246d0: Pulling fs layer 20:28:52 ec43610c2a17: Pulling fs layer 20:28:52 3a2ae6a8a46f: Pulling fs layer 20:28:52 33b1e0a273af: Pulling fs layer 20:28:52 5d3b04190fa2: Pulling fs layer 20:28:52 2f39f015ded8: Pulling fs layer 20:28:52 5d3b04190fa2: Waiting 20:28:52 3a2ae6a8a46f: Waiting 20:28:52 33b1e0a273af: Waiting 20:28:52 5c69ac0246d0: Download complete 20:28:52 3a2ae6a8a46f: Verifying Checksum 20:28:52 3a2ae6a8a46f: Download complete 20:28:52 33b1e0a273af: Verifying Checksum 20:28:52 33b1e0a273af: Download complete 20:28:52 5d3b04190fa2: Verifying Checksum 20:28:52 5d3b04190fa2: Download complete 20:28:52 ec43610c2a17: Verifying Checksum 20:28:52 5eb5b503b376: Verifying Checksum 20:28:52 5eb5b503b376: Download complete 20:28:52 2f39f015ded8: Verifying Checksum 20:28:52 2f39f015ded8: Download complete 20:28:53 5eb5b503b376: Pull complete 20:28:53 5c69ac0246d0: Pull complete 20:28:53 ec43610c2a17: Pull complete 20:28:53 3a2ae6a8a46f: Pull complete 20:28:53 33b1e0a273af: Pull complete 20:28:54 5d3b04190fa2: Pull complete 20:28:58 2f39f015ded8: Pull complete 20:28:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:58 prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container 20:28:58 $ 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:28:59 $ docker top 9b1f864407e82f239d1cd3ba6fdd8d1c1691d033acd85dbcfc3844c0ba64084f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:59 ---> job-cost.sh 20:28:59 lf-activate-venv: SKIPPING 20:28:59 INFO: No Stack... 20:29:00 INFO: Retrieving Pricing Info for: v3-standard-8 20:29:00 INFO: Archiving Costs [Pipeline] sh 20:29:01 + cut -d, -f6 20:29:01 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv [Pipeline] lock 20:29:01 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-8-stack-cost] 20:29:01 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-8-stack-cost] did not exist. Created. 20:29:01 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:29:01 + echo total: 0.2199999988079071 [Pipeline] stash 20:29:01 Stashed 1 file(s) [Pipeline] } 20:29:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:29:01 $ docker stop --time=1 9b1f864407e82f239d1cd3ba6fdd8d1c1691d033acd85dbcfc3844c0ba64084f 20:29:02 $ docker rm -f 9b1f864407e82f239d1cd3ba6fdd8d1c1691d033acd85dbcfc3844c0ba64084f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:29:02 Failed in branch amd64 20:30:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8414 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 20:30:39 Running in /w/workspace/device-usb-camera/8 [Pipeline] { [Pipeline] checkout 20:30:39 Selected Git installation does not exist. Using Default 20:30:39 The recommended git tool is: NONE 20:30:46 using credential edgex-jenkins-ssh 20:30:46 Cloning the remote Git repository 20:30:46 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:30:46 > git init /w/workspace/device-usb-camera/8 # timeout=10 20:30:46 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:30:46 > git --version # timeout=10 20:30:46 > git --version # 'git version 2.25.1' 20:30:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:46 Verifying host key using known hosts file 20:30:46 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:30:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:47 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:30:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:48 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:30:48 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:48 Verifying host key using known hosts file 20:30:49 Merging remotes/origin/main commit 695cbf35e7563b7af803532131954c37e2b367cb into PR head commit c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 20:30:49 Merge succeeded, producing c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 20:30:49 Checking out Revision c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 (PR-99) 20:30:48 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:30:48 > 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:30:49 > git config core.sparsecheckout # timeout=10 20:30:49 > git checkout -f c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 # timeout=10 20:30:49 > git remote # timeout=10 20:30:49 > git config --get remote.origin.url # timeout=10 20:30:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:49 Verifying host key using known hosts file 20:30:49 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:30:49 > git merge 695cbf35e7563b7af803532131954c37e2b367cb # timeout=10 20:30:49 > git rev-parse HEAD^{commit} # timeout=10 20:30:49 > git config core.sparsecheckout # timeout=10 20:30:49 > git checkout -f c682c489a73e90a30d7b0fb1efc2d3ffd57612a1 # timeout=10 20:30:50 Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:30:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:30:51 % Total % Received % Xferd Average Speed Time Time Time Current 20:30:51 Dload Upload Total Spent Left Speed 20:30:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 20:30:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:30:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:30:52 + sudo tee /etc/docker/daemon.new 20:30:52 { 20:30:52 "registry-mirrors": [ 20:30:52 "https://nexus3.edgexfoundry.org:10001" 20:30:52 ], 20:30:52 "bip": "10.250.0.254/24", 20:30:52 "hosts": [ 20:30:52 "tcp://0.0.0.0:5555", 20:30:52 "unix:///var/run/docker.sock" 20:30:52 ], 20:30:52 "mtu": 1458, 20:30:52 "selinux-enabled": true, 20:30:52 "seccomp-profile": "/etc/docker/seccomp.json" 20:30:52 } [Pipeline] sh 20:30:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:30:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:11 provisioning config files... 20:31:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/8@tmp/config3304275663900681012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:11 ---> docker-login.sh 20:31:11 nexus3.edgexfoundry.org:10001 20:31:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:12 Configure a credential helper to remove this warning. See 20:31:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:12 20:31:12 Login Succeeded 20:31:12 nexus3.edgexfoundry.org:10002 20:31:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:12 Configure a credential helper to remove this warning. See 20:31:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:12 20:31:12 Login Succeeded 20:31:12 nexus3.edgexfoundry.org:10003 20:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:13 Configure a credential helper to remove this warning. See 20:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:13 20:31:13 Login Succeeded 20:31:13 nexus3.edgexfoundry.org:10004 20:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:13 Configure a credential helper to remove this warning. See 20:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:13 20:31:13 Login Succeeded 20:31:13 docker.io 20:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:14 Configure a credential helper to remove this warning. See 20:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:14 20:31:14 Login Succeeded 20:31:14 ---> docker-login.sh ends [Pipeline] } 20:31:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:31:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:14 ========================================================= 20:31:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:31:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:15 + 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:31:15 Sending build context to Docker daemon 995.8kB 20:31:15 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:31:15 Step 2/14 : FROM ${BASE} AS builder 20:31:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:31:15 9b18e9b68314: Pulling fs layer 20:31:15 d32db5db7311: Pulling fs layer 20:31:15 d0c4b47475fc: Pulling fs layer 20:31:15 5831b945b038: Pulling fs layer 20:31:15 86bbec2aaacd: Pulling fs layer 20:31:15 e10730c5d714: Pulling fs layer 20:31:15 5dd5c2283517: Pulling fs layer 20:31:15 d5ac0230b979: Pulling fs layer 20:31:15 5831b945b038: Waiting 20:31:15 86bbec2aaacd: Waiting 20:31:15 e10730c5d714: Waiting 20:31:15 5dd5c2283517: Waiting 20:31:15 d5ac0230b979: Waiting 20:31:15 d0c4b47475fc: Verifying Checksum 20:31:15 d0c4b47475fc: Download complete 20:31:15 d32db5db7311: Verifying Checksum 20:31:15 d32db5db7311: Download complete 20:31:15 86bbec2aaacd: Verifying Checksum 20:31:15 86bbec2aaacd: Download complete 20:31:15 e10730c5d714: Verifying Checksum 20:31:15 e10730c5d714: Download complete 20:31:15 9b18e9b68314: Verifying Checksum 20:31:17 9b18e9b68314: Pull complete 20:31:17 d5ac0230b979: Verifying Checksum 20:31:17 d5ac0230b979: Download complete 20:31:17 d32db5db7311: Pull complete 20:31:18 d0c4b47475fc: Pull complete 20:31:18 5dd5c2283517: Verifying Checksum 20:31:18 5dd5c2283517: Download complete 20:31:18 5831b945b038: Verifying Checksum 20:31:18 5831b945b038: Download complete 20:31:31 5831b945b038: Pull complete 20:31:31 86bbec2aaacd: Pull complete 20:31:31 e10730c5d714: Pull complete 20:31:36 5dd5c2283517: Pull complete 20:31:38 d5ac0230b979: Pull complete 20:31:38 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:31:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:31:38 ---> 59b3b1a385d4 20:31:38 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:31:40 ---> Running in 022b49b8de5a 20:31:40 Removing intermediate container 022b49b8de5a 20:31:40 ---> a389eefe02de 20:31:40 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:31:41 ---> Running in d408d6a38d20 20:31:41 Removing intermediate container d408d6a38d20 20:31:41 ---> edf7e0939992 20:31:41 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:31:41 ---> Running in 7f38968fbe31 20:31:42 Removing intermediate container 7f38968fbe31 20:31:42 ---> 3d1da9edb2f1 20:31:42 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:31:42 ---> Running in bc14e5f1e9eb 20:31:42 Removing intermediate container bc14e5f1e9eb 20:31:42 ---> 70e11327d3ff 20:31:42 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:31:42 ---> Running in 6ca49961ee2c 20:31:44 Removing intermediate container 6ca49961ee2c 20:31:44 ---> d4c2ea7a99f1 20:31:44 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:31:44 ---> Running in af448f4b683f 20:31:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:31:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:31:47 (1/14) Installing libintl (0.21-r2) 20:31:47 (2/14) Installing eudev-libs (3.2.11-r0) 20:31:47 (3/14) Installing libjpeg-turbo (2.1.3-r1) 20:31:48 (4/14) Installing v4l-utils-libs (1.22.1-r1) 20:31:48 (5/14) Installing v4l-utils (1.22.1-r1) 20:31:48 (6/14) Installing udev-init-scripts (35-r0) 20:31:48 Executing udev-init-scripts-35-r0.post-install 20:31:48 (7/14) Installing libblkid (2.38-r1) 20:31:48 (8/14) Installing xz-libs (5.2.5-r1) 20:31:48 (9/14) Installing zstd-libs (1.5.2-r1) 20:31:48 (10/14) Installing kmod-libs (29-r2) 20:31:48 (11/14) Installing eudev (3.2.11-r0) 20:31:49 (12/14) Installing eudev-dev (3.2.11-r0) 20:31:49 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:31:49 (14/14) Installing v4l-utils-dev (1.22.1-r1) 20:31:49 Executing busybox-1.35.0-r17.trigger 20:31:49 Executing eudev-3.2.11-r0.trigger 20:31:49 OK: 228 MiB in 65 packages 20:31:51 Removing intermediate container af448f4b683f 20:31:51 ---> 5b50c385877d 20:31:51 Step 9/14 : WORKDIR /device-usb-camera 20:31:51 ---> Running in a840089eebef 20:31:51 Removing intermediate container a840089eebef 20:31:51 ---> 208350fead2c 20:31:51 Step 10/14 : COPY go.mod vendor* ./ 20:31:51 ---> 4e3bce20bcd2 20:31:51 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:52 ---> Running in 2dce98579a82 20:32:48 Removing intermediate container 2dce98579a82 20:32:48 ---> 253f8e240dd6 20:32:48 Step 12/14 : COPY . . 20:32:48 ---> fc9e9d6ced8c 20:32:48 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:32:48 ---> Running in 96902eca02f0 20:32:48  % Total % Received % Xferd Average Speed Time Time Time Current 20:32:48  Dload Upload Total Spent Left Speed 20:32:48 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6875 0 --:--:-- --:--:-- --:--:-- 6941 20:32:48 Removing intermediate container 96902eca02f0 20:32:48 ---> 33dbe06f026e 20:32:48 Step 14/14 : RUN ${MAKE} 20:32:48 ---> Running in d97d80fa2f89 20:32:49 noop 20:32:50 Removing intermediate container d97d80fa2f89 20:32:50 ---> 61eef3eecada 20:32:50 Successfully built 61eef3eecada 20:32:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:50 + docker inspect -f . ci-base-image-arm64 20:32:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:51 prd-ubuntu20.04-docker-arm64-4c-16g-8414 does not seem to be running inside a container 20:32:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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:32:52 $ docker top 376b20982dfbdbf5cabf8e49d1ccdc8b27129cb6b146f51bb1a794dc813b90d3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:53 + go version 20:32:53 go version go1.18.7 linux/arm64 [Pipeline] } 20:32:53 $ docker stop --time=1 376b20982dfbdbf5cabf8e49d1ccdc8b27129cb6b146f51bb1a794dc813b90d3 20:32:55 $ docker rm -f 376b20982dfbdbf5cabf8e49d1ccdc8b27129cb6b146f51bb1a794dc813b90d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:55 + docker inspect -f . ci-base-image-arm64 20:32:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:55 prd-ubuntu20.04-docker-arm64-4c-16g-8414 does not seem to be running inside a container 20:32:55 $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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:32:57 $ docker top e66bd03f73808ce77b7cf98ffec7e996827c88e93a688c09ac0080a4e0293138 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:57 + git config --global --add safe.directory /w/workspace/device-usb-camera/8 [Pipeline] fileExists [Pipeline] sh 20:32:58 + make test 20:32:58 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:32:59 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:34:51 # github.com/edgexfoundry/device-usb-camera/internal/driver 20:34:51 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 20:34:51 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 20:34:51 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 20:34:51 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 20:34:51 $ docker stop --time=1 e66bd03f73808ce77b7cf98ffec7e996827c88e93a688c09ac0080a4e0293138 20:34:53 $ docker rm -f e66bd03f73808ce77b7cf98ffec7e996827c88e93a688c09ac0080a4e0293138 [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:34:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:34:54 20:34:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:34:54 arm64: Pulling from edgex-lftools-log-publisher 20:34:54 8998bd30e6a1: Pulling fs layer 20:34:54 04944245beec: Pulling fs layer 20:34:54 699f458cf7ca: Pulling fs layer 20:34:54 765212b225bb: Pulling fs layer 20:34:54 f23df028b6ca: Pulling fs layer 20:34:54 d65c8cfc05b1: Pulling fs layer 20:34:54 2437ff75d9bd: Pulling fs layer 20:34:54 f23df028b6ca: Waiting 20:34:54 d65c8cfc05b1: Waiting 20:34:54 2437ff75d9bd: Waiting 20:34:54 765212b225bb: Waiting 20:34:55 04944245beec: Verifying Checksum 20:34:55 04944245beec: Download complete 20:34:55 765212b225bb: Verifying Checksum 20:34:55 765212b225bb: Download complete 20:34:55 f23df028b6ca: Verifying Checksum 20:34:55 f23df028b6ca: Download complete 20:34:55 d65c8cfc05b1: Verifying Checksum 20:34:55 d65c8cfc05b1: Download complete 20:34:55 699f458cf7ca: Verifying Checksum 20:34:55 699f458cf7ca: Download complete 20:34:55 8998bd30e6a1: Verifying Checksum 20:34:55 8998bd30e6a1: Download complete 20:34:59 2437ff75d9bd: Verifying Checksum 20:34:59 2437ff75d9bd: Download complete 20:35:01 8998bd30e6a1: Pull complete 20:35:02 04944245beec: Pull complete 20:35:04 699f458cf7ca: Pull complete 20:35:05 765212b225bb: Pull complete 20:35:06 f23df028b6ca: Pull complete 20:35:06 d65c8cfc05b1: Pull complete 20:35:24 2437ff75d9bd: Pull complete 20:35:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:35:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:25 prd-ubuntu20.04-docker-arm64-4c-16g-8414 does not seem to be running inside a container 20:35:25 $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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:35:29 $ docker top 16f767507ac258a4abfd136056ba40200c9ec536bca8901e6adcd16a97df602f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:30 ---> job-cost.sh 20:35:30 lf-activate-venv: SKIPPING 20:35:30 INFO: No Stack... 20:35:30 INFO: Retrieving Pricing Info for: v3-standard-4 20:35:31 INFO: Archiving Costs [Pipeline] sh 20:35:32 + cat /w/workspace/device-usb-camera/8/archives/cost.csv 20:35:32 + cut -d, -f6 [Pipeline] lock 20:35:32 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-8-stack-cost] 20:35:32 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-8-stack-cost] did not exist. Created. 20:35:32 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:35:32 /w/workspace/device-usb-camera/8@tmp/durable-ba56ef3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:35:33 + echo total: 0.10999999940395355 [Pipeline] stash 20:35:33 Warning: overwriting stash ‘stack-cost’ 20:35:34 Stashed 1 file(s) [Pipeline] } 20:35:34 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:35:34 $ docker stop --time=1 16f767507ac258a4abfd136056ba40200c9ec536bca8901e6adcd16a97df602f 20:35:35 $ docker rm -f 16f767507ac258a4abfd136056ba40200c9ec536bca8901e6adcd16a97df602f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:35:36 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:35:36 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 20:35:36 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 20:35:36 total 16 20:35:36 drwxr-xr-x 3 root root 4096 Oct 17 20:29 . 20:35:36 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 20:29 .. 20:35:36 drwxr-xr-x 2 root root 4096 Oct 17 20:29 cost 20:35:36 -rw-r--r-- 1 root root 88 Oct 17 20:29 cost.csv 20:35:36 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 20:35:36 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 20:35:36 total 16 20:35:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:29 . 20:35:36 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 20:29 .. 20:35:36 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 20:29 cost 20:35:36 -rw-r--r-- 1 jenkins jenkins 88 Oct 17 20:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:35:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:35:37 ---> package-listing.sh 20:35:37 ++ facter osfamily 20:35:37 ++ tr '[:upper:]' '[:lower:]' 20:35:38 + OS_FAMILY=debian 20:35:38 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 20:35:38 + START_PACKAGES=/tmp/packages_start.txt 20:35:38 + END_PACKAGES=/tmp/packages_end.txt 20:35:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:35:38 + PACKAGES=/tmp/packages_start.txt 20:35:38 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 20:35:38 + PACKAGES=/tmp/packages_end.txt 20:35:38 + case "${OS_FAMILY}" in 20:35:38 + dpkg -l 20:35:38 + grep '^ii' 20:35:38 + '[' -f /tmp/packages_start.txt ']' 20:35:38 + '[' -f /tmp/packages_end.txt ']' 20:35:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:35:38 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 20:35:38 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 20:35:38 + 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:35:38 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:35:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:39 prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container 20:35:39 $ 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:35:39 $ docker top 4b345ea788130b9976020abc34a6f1c3d6d8db32cb8430451cd9667d3be9347a -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:39 + touch /tmp/pre-build-complete [Pipeline] sh 20:35:39 + mkdir -p /var/log/sysstat [Pipeline] sh 20:35:40 + ls /var/log/sa-host 20:35:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:35:40 provisioning config files... 20:35:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config15991571813023627311tmp [Pipeline] { [Pipeline] echo 20:35:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:35:40 ---> create-netrc.sh [Pipeline] } 20:35:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:35:40 ---> python-tools-install.sh [Pipeline] echo 20:35:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:35:41 ---> sudo-logs.sh 20:35:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:35:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:35:41 ---> job-cost.sh 20:35:41 lf-activate-venv: SKIPPING 20:35:41 DEBUG: total: 0.2199999988079071 20:35:41 INFO: Retrieving Stack Cost... 20:35:41 INFO: Retrieving Pricing Info for: v3-standard-8 20:35:42 INFO: Archiving Costs [Pipeline] echo 20:35:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:35:42 ---> logs-deploy.sh 20:35:42 lf-activate-venv: SKIPPING 20:35:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/8 20:35:42 INFO: archiving workspace using pattern(s): 20:35:43 Archives upload complete. 20:35:43 INFO: archiving logs to Nexus