Pull request #172 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a9c05b70e9d6ccbd05b537db3444868d49afa9d2+3323a63d0afd632e576abad22becd63271ca5b86 (7e2c0d313372f85239123aa355b74c6d7610ba27) 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-ssh17955259402705990505.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13621955961268470753.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-172/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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5287688243212414697.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8695668070959142073.key > 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-172/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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16600669752648603924.key > 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-8880 in /w/workspace/foundry_device-usb-camera_PR-172 [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/foundry_device-usb-camera_PR-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3323a63d0afd632e576abad22becd63271ca5b86 into PR head commit a9c05b70e9d6ccbd05b537db3444868d49afa9d2 Merge succeeded, producing a9c05b70e9d6ccbd05b537db3444868d49afa9d2 Checking out Revision a9c05b70e9d6ccbd05b537db3444868d49afa9d2 (PR-172) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9c05b70e9d6ccbd05b537db3444868d49afa9d2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3323a63d0afd632e576abad22becd63271ca5b86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9c05b70e9d6ccbd05b537db3444868d49afa9d2 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:39:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:39:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:39:38 ========================================================= 20:39:38 EdgeX Global Pipelines Version Info 20:39:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5233dffeebb707adaefdeb7bfcdb1780194508f2 # timeout=10 20:39:39 ------------------- 20:39:39 stable info: 20:39:39 ------------------- 20:39:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:39:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:39:39 Message: update stable to v1.0.244 20:39:40 ------------------- 20:39:40 experimental info: 20:39:40 ------------------- 20:39:40 Commited By: **** collab-it+edgex@linuxfoundation.org 20:39:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:39:40 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9c05b70e9d6ccbd05b537db3444868d49afa9d2 [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9c05b7 [Pipeline] echo 20:39:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:40 provisioning config files... 20:39:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-172@tmp/config15215966850722382287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:40 ---> docker-login.sh 20:39:40 nexus3.edgexfoundry.org:10001 20:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:41 Configure a credential helper to remove this warning. See 20:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:41 20:39:41 Login Succeeded 20:39:41 nexus3.edgexfoundry.org:10002 20:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:41 Configure a credential helper to remove this warning. See 20:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:41 20:39:41 Login Succeeded 20:39:41 nexus3.edgexfoundry.org:10003 20:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:41 Configure a credential helper to remove this warning. See 20:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:41 20:39:41 Login Succeeded 20:39:41 nexus3.edgexfoundry.org:10004 20:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:41 Configure a credential helper to remove this warning. See 20:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:41 20:39:41 Login Succeeded 20:39:41 docker.io 20:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:41 Configure a credential helper to remove this warning. See 20:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:41 20:39:41 Login Succeeded 20:39:41 ---> docker-login.sh ends [Pipeline] } 20:39:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:39:42 + git rev-list -1 --merges a9c05b70e9d6ccbd05b537db3444868d49afa9d2~1..a9c05b70e9d6ccbd05b537db3444868d49afa9d2 [Pipeline] echo 20:39:42 -----------> git rev-list -1 --merges a9c05b70e9d6ccbd05b537db3444868d49afa9d2~1..a9c05b70e9d6ccbd05b537db3444868d49afa9d2 a9c05b70e9d6ccbd05b537db3444868d49afa9d2 [false] [Pipeline] sh 20:39:42 + git log --format=format:%s -1 a9c05b70e9d6ccbd05b537db3444868d49afa9d2 [Pipeline] echo 20:39:42 ========================================================= 20:39:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:39:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:42 + git log --format=format:%s -1 a9c05b70e9d6ccbd05b537db3444868d49afa9d2 [Pipeline] echo 20:39:42 [semverPrep] GIT_COMMIT: a9c05b70e9d6ccbd05b537db3444868d49afa9d2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:39:42 [semverPrep] This is not a build commit. [Pipeline] sh 20:39:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:39:43 + grep -v github /etc/ssh/ssh_known_hosts 20:39:43 + [ -e /tmp/ssh_known_hosts ] 20:39:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:39:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:39:43 + sudo tee -a /etc/ssh/ssh_known_hosts 20:39:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:43 20:39:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:43 0.1.4: Pulling from edgex-devops/py-git-semver 20:39:43 b85a868b505f: Pulling fs layer 20:39:43 e2be974225ed: Pulling fs layer 20:39:43 339a4e72a1f5: Pulling fs layer 20:39:43 988bab9f4d93: Pulling fs layer 20:39:43 1469e6f7b9e6: Pulling fs layer 20:39:43 eaf3925da568: Pulling fs layer 20:39:43 bab4dde63d76: Pulling fs layer 20:39:43 bde34c3a00c8: Pulling fs layer 20:39:43 b352a97aabf1: Pulling fs layer 20:39:43 4872d77fe225: Pulling fs layer 20:39:43 5851b861e8e6: Pulling fs layer 20:39:43 988bab9f4d93: Waiting 20:39:43 b352a97aabf1: Waiting 20:39:43 4872d77fe225: Waiting 20:39:43 5851b861e8e6: Waiting 20:39:43 bde34c3a00c8: Waiting 20:39:43 1469e6f7b9e6: Waiting 20:39:43 eaf3925da568: Waiting 20:39:43 bab4dde63d76: Waiting 20:39:43 e2be974225ed: Download complete 20:39:43 988bab9f4d93: Verifying Checksum 20:39:43 988bab9f4d93: Download complete 20:39:44 1469e6f7b9e6: Verifying Checksum 20:39:44 1469e6f7b9e6: Download complete 20:39:44 eaf3925da568: Verifying Checksum 20:39:44 eaf3925da568: Download complete 20:39:44 339a4e72a1f5: Verifying Checksum 20:39:44 339a4e72a1f5: Download complete 20:39:44 bde34c3a00c8: Download complete 20:39:44 b352a97aabf1: Verifying Checksum 20:39:44 b352a97aabf1: Download complete 20:39:44 4872d77fe225: Download complete 20:39:44 5851b861e8e6: Verifying Checksum 20:39:44 5851b861e8e6: Download complete 20:39:44 b85a868b505f: Verifying Checksum 20:39:44 b85a868b505f: Download complete 20:39:44 bab4dde63d76: Verifying Checksum 20:39:44 bab4dde63d76: Download complete 20:39:45 b85a868b505f: Pull complete 20:39:45 e2be974225ed: Pull complete 20:39:46 339a4e72a1f5: Pull complete 20:39:46 988bab9f4d93: Pull complete 20:39:46 1469e6f7b9e6: Pull complete 20:39:46 eaf3925da568: Pull complete 20:39:48 bab4dde63d76: Pull complete 20:39:48 bde34c3a00c8: Pull complete 20:39:48 b352a97aabf1: Pull complete 20:39:48 4872d77fe225: Pull complete 20:39:48 5851b861e8e6: Pull complete 20:39:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:39:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:48 prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container 20:39:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-172 -v /w/workspace/foundry_device-usb-camera_PR-172:/w/workspace/foundry_device-usb-camera_PR-172:rw,z -v /w/workspace/foundry_device-usb-camera_PR-172@tmp:/w/workspace/foundry_device-usb-camera_PR-172@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:39:51 $ docker top 8dc5828bbd40742fb3f37a4d6075dd67d0e59bee2b6978d830e5e0c1e6267e3a -eo pid,comm 20:39:51 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:39:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:39:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:51 [ssh-agent] Looking for ssh-agent implementation... 20:39:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:51 $ docker exec 8dc5828bbd40742fb3f37a4d6075dd67d0e59bee2b6978d830e5e0c1e6267e3a ssh-agent 20:39:51 SSH_AUTH_SOCK=/tmp/ssh-0Cf5YhFy9aMl/agent.32 20:39:51 SSH_AGENT_PID=38 20:39:51 Running ssh-add (command line suppressed) 20:39:51 Identity added: /w/workspace/foundry_device-usb-camera_PR-172@tmp/private_key_17776520923267023166.key (/w/workspace/foundry_device-usb-camera_PR-172@tmp/private_key_17776520923267023166.key) 20:39:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:51 + git tag --points-at HEAD [Pipeline] } 20:39:51 $ docker exec --env ******** --env ******** 8dc5828bbd40742fb3f37a4d6075dd67d0e59bee2b6978d830e5e0c1e6267e3a ssh-agent -k 20:39:51 unset SSH_AUTH_SOCK; 20:39:51 unset SSH_AGENT_PID; 20:39:51 echo Agent pid 38 killed; 20:39:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:39:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:52 [ssh-agent] Looking for ssh-agent implementation... 20:39:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:52 $ docker exec 8dc5828bbd40742fb3f37a4d6075dd67d0e59bee2b6978d830e5e0c1e6267e3a ssh-agent 20:39:52 SSH_AUTH_SOCK=/tmp/ssh-0b0rqmb2tjrx/agent.70 20:39:52 SSH_AGENT_PID=76 20:39:52 Running ssh-add (command line suppressed) 20:39:52 Identity added: /w/workspace/foundry_device-usb-camera_PR-172@tmp/private_key_17511648490399539725.key (/w/workspace/foundry_device-usb-camera_PR-172@tmp/private_key_17511648490399539725.key) 20:39:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:52 + git semver init 20:39:52 2023-03-08 20:39:52,859 [run_init] DEBUG init version:0.0.0 force:False 20:39:52 2023-03-08 20:39:52,860 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-172/.semver 20:39:52 2023-03-08 20:39:52,860 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-172/.semver 20:39:52 2023-03-08 20:39:52,861 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-172/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-172, universal_newlines=False, shell=None, istream=None) 20:39:53 2023-03-08 20:39:53,579 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-172/.git/info/exclude 20:39:53 2023-03-08 20:39:53,580 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-172/.semver/PR-172 with force:False 20:39:53 2023-03-08 20:39:53,580 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-172/.semver/PR-172 20:39:53 2023-03-08 20:39:53,583 [execute] INFO git cat-file --batch-check 20:39:53 2023-03-08 20:39:53,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 20:39:53 2023-03-08 20:39:53,590 [execute] INFO git cat-file --batch 20:39:53 2023-03-08 20:39:53,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 20:39:53 2023-03-08 20:39:53,595 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-172/.semver/PR-172 20:39:53 0.0.0 [Pipeline] } 20:39:53 $ docker exec --env ******** --env ******** 8dc5828bbd40742fb3f37a4d6075dd67d0e59bee2b6978d830e5e0c1e6267e3a ssh-agent -k 20:39:53 unset SSH_AUTH_SOCK; 20:39:53 unset SSH_AGENT_PID; 20:39:53 echo Agent pid 76 killed; 20:39:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:39:54 + git semver [Pipeline] } 20:39:54 $ docker stop --time=1 8dc5828bbd40742fb3f37a4d6075dd67d0e59bee2b6978d830e5e0c1e6267e3a 20:39:55 $ docker rm -f --volumes 8dc5828bbd40742fb3f37a4d6075dd67d0e59bee2b6978d830e5e0c1e6267e3a [Pipeline] // withDockerContainer [Pipeline] sh 20:39:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:39:56 Stashed 1 file(s) [Pipeline] echo 20:39:56 [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:39:56 provisioning config files... 20:39:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-172@tmp/config2724319176158685659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:56 ---> docker-login.sh 20:39:56 nexus3.edgexfoundry.org:10001 20:39:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:56 Configure a credential helper to remove this warning. See 20:39:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:56 20:39:56 Login Succeeded 20:39:56 nexus3.edgexfoundry.org:10002 20:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:57 Configure a credential helper to remove this warning. See 20:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:57 20:39:57 Login Succeeded 20:39:57 nexus3.edgexfoundry.org:10003 20:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:57 Configure a credential helper to remove this warning. See 20:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:57 20:39:57 Login Succeeded 20:39:57 nexus3.edgexfoundry.org:10004 20:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:57 Configure a credential helper to remove this warning. See 20:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:57 20:39:57 Login Succeeded 20:39:57 docker.io 20:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:57 Configure a credential helper to remove this warning. See 20:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:57 20:39:57 Login Succeeded 20:39:57 ---> docker-login.sh ends [Pipeline] } 20:39:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:39:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:57 ========================================================= 20:39:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:39:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:58 + 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:39:58 Sending build context to Docker daemon 1.784MB 20:39:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:39:58 Step 2/13 : FROM ${BASE} AS builder 20:39:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:39:58 213ec9aee27d: Pulling fs layer 20:39:58 4583459ba037: Pulling fs layer 20:39:58 93c1e223e6f2: Pulling fs layer 20:39:58 53926ce57604: Pulling fs layer 20:39:58 21b2b0c7a3f4: Pulling fs layer 20:39:58 22ff95d597cd: Pulling fs layer 20:39:58 12d6caf4c0d1: Pulling fs layer 20:39:58 96b7cbca73a9: Pulling fs layer 20:39:58 a7acece74701: Pulling fs layer 20:39:58 21b2b0c7a3f4: Waiting 20:39:58 22ff95d597cd: Waiting 20:39:58 12d6caf4c0d1: Waiting 20:39:58 96b7cbca73a9: Waiting 20:39:58 a7acece74701: Waiting 20:39:58 53926ce57604: Waiting 20:39:58 93c1e223e6f2: Verifying Checksum 20:39:58 93c1e223e6f2: Download complete 20:39:58 4583459ba037: Verifying Checksum 20:39:58 4583459ba037: Download complete 20:39:58 21b2b0c7a3f4: Verifying Checksum 20:39:58 21b2b0c7a3f4: Download complete 20:39:58 22ff95d597cd: Verifying Checksum 20:39:58 22ff95d597cd: Download complete 20:39:58 213ec9aee27d: Verifying Checksum 20:39:58 12d6caf4c0d1: Verifying Checksum 20:39:58 12d6caf4c0d1: Download complete 20:39:58 213ec9aee27d: Pull complete 20:39:58 4583459ba037: Pull complete 20:39:58 93c1e223e6f2: Pull complete 20:39:58 a7acece74701: Download complete 20:39:59 96b7cbca73a9: Verifying Checksum 20:39:59 96b7cbca73a9: Download complete 20:39:59 53926ce57604: Verifying Checksum 20:39:59 53926ce57604: Download complete 20:40:03 53926ce57604: Pull complete 20:40:03 21b2b0c7a3f4: Pull complete 20:40:03 22ff95d597cd: Pull complete 20:40:03 12d6caf4c0d1: Pull complete 20:40:05 96b7cbca73a9: Pull complete 20:40:06 a7acece74701: Pull complete 20:40:06 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:40:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:40:06 ---> db6d94c90886 20:40:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:40:11 Still waiting to schedule task 20:40:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:40:11 ---> Running in 512130f1c10b 20:40:11 Removing intermediate container 512130f1c10b 20:40:11 ---> 5ef628a48226 20:40:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:40:11 ---> Running in db2f64046a92 20:40:11 Removing intermediate container db2f64046a92 20:40:11 ---> 7807b05c02ac 20:40:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:40:11 ---> Running in 47fc8ff416b9 20:40:11 Removing intermediate container 47fc8ff416b9 20:40:11 ---> a958e47d8757 20:40:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:40:11 ---> Running in 5227ead5bad1 20:40:11 Removing intermediate container 5227ead5bad1 20:40:11 ---> b1eb363a6828 20:40:11 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:11 ---> Running in 662862efadb0 20:40:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:40:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:40:12 (1/80) Installing mesa (21.3.9-r0) 20:40:12 (2/80) Installing libxau (1.0.9-r0) 20:40:12 (3/80) Installing libxdmcp (1.1.3-r0) 20:40:12 (4/80) Installing libxcb (1.15-r0) 20:40:12 (5/80) Installing libx11 (1.8-r0) 20:40:12 (6/80) Installing libxext (1.3.4-r0) 20:40:12 (7/80) Installing libxfixes (6.0.0-r0) 20:40:12 (8/80) Installing libxxf86vm (1.1.4-r2) 20:40:12 (9/80) Installing libpciaccess (0.16-r0) 20:40:12 (10/80) Installing libdrm (2.4.110-r0) 20:40:12 (11/80) Installing mesa-glapi (21.3.9-r0) 20:40:12 (12/80) Installing libxshmfence (1.3-r1) 20:40:12 (13/80) Installing mesa-gl (21.3.9-r0) 20:40:12 (14/80) Installing icu-data-full (71.1-r2) 20:40:12 (15/80) Installing libice (1.0.10-r0) 20:40:12 (16/80) Installing libuuid (2.38-r1) 20:40:12 (17/80) Installing libsm (1.2.3-r0) 20:40:12 (18/80) Installing libxt (1.2.1-r0) 20:40:12 (19/80) Installing libxmu (1.1.3-r0) 20:40:12 (20/80) Installing xset (1.2.4-r0) 20:40:12 (21/80) Installing xprop (1.2.5-r0) 20:40:12 (22/80) Installing xdg-utils (1.1.3-r3) 20:40:12 (23/80) Installing dbus-libs (1.14.4-r0) 20:40:12 (24/80) Installing libffi (3.4.2-r1) 20:40:12 (25/80) Installing libintl (0.21-r2) 20:40:12 (26/80) Installing libblkid (2.38-r1) 20:40:12 (27/80) Installing libmount (2.38-r1) 20:40:12 (28/80) Installing pcre (8.45-r2) 20:40:12 (29/80) Installing glib (2.72.1-r0) 20:40:12 (30/80) Installing icu-libs (71.1-r2) 20:40:12 (31/80) Installing libpcre2-16 (10.40-r0) 20:40:12 (32/80) Installing zstd-libs (1.5.2-r1) 20:40:12 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 20:40:12 (34/80) Installing hicolor-icon-theme (0.17-r1) 20:40:12 (35/80) Installing wayland-libs-server (1.20.0-r0) 20:40:12 (36/80) Installing mesa-gbm (21.3.9-r0) 20:40:12 (37/80) Installing wayland-libs-client (1.20.0-r0) 20:40:12 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 20:40:12 (39/80) Installing libxcomposite (0.4.5-r0) 20:40:12 (40/80) Installing libbz2 (1.0.8-r1) 20:40:12 (41/80) Installing libpng (1.6.37-r1) 20:40:12 (42/80) Installing freetype (2.12.1-r0) 20:40:12 (43/80) Installing fontconfig (2.14.0-r0) 20:40:12 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 20:40:12 (45/80) Installing wayland-libs-egl (1.20.0-r0) 20:40:12 (46/80) Installing xkeyboard-config (2.35.1-r0) 20:40:12 (47/80) Installing xz-libs (5.2.5-r1) 20:40:12 (48/80) Installing libxml2 (2.9.14-r2) 20:40:12 (49/80) Installing libxkbcommon (1.4.1-r0) 20:40:12 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 20:40:12 (51/80) Installing mesa-egl (21.3.9-r0) 20:40:12 (52/80) Installing avahi-libs (0.8-r6) 20:40:12 (53/80) Installing nettle (3.7.3-r0) 20:40:12 (54/80) Installing p11-kit (0.24.1-r0) 20:40:12 (55/80) Installing libtasn1 (4.18.0-r1) 20:40:12 (56/80) Installing libunistring (1.0-r0) 20:40:12 (57/80) Installing gnutls (3.7.7-r1) 20:40:12 (58/80) Installing cups-libs (2.4.2-r0) 20:40:12 (59/80) Installing graphite2 (1.3.14-r1) 20:40:12 (60/80) Installing harfbuzz (4.3.0-r0) 20:40:12 (61/80) Installing libevdev (1.12.1-r0) 20:40:12 (62/80) Installing mtdev (1.1.6-r0) 20:40:12 (63/80) Installing eudev-libs (3.2.11-r0) 20:40:12 (64/80) Installing libinput-libs (1.20.1-r0) 20:40:12 (65/80) Installing libjpeg-turbo (2.1.3-r1) 20:40:12 (66/80) Installing xcb-util-wm (0.4.1-r1) 20:40:12 (67/80) Installing xcb-util (0.4.0-r3) 20:40:12 (68/80) Installing xcb-util-image (0.4.0-r1) 20:40:12 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 20:40:12 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 20:40:12 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 20:40:12 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 20:40:13 (73/80) Installing v4l-utils-libs (1.22.1-r1) 20:40:13 (74/80) Installing v4l-utils (1.22.1-r1) 20:40:13 (75/80) Installing udev-init-scripts (35-r0) 20:40:13 Executing udev-init-scripts-35-r0.post-install 20:40:13 (76/80) Installing kmod-libs (29-r2) 20:40:13 (77/80) Installing eudev (3.2.11-r0) 20:40:13 (78/80) Installing eudev-dev (3.2.11-r0) 20:40:13 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:40:13 (80/80) Installing v4l-utils-dev (1.22.1-r1) 20:40:13 Executing busybox-1.35.0-r17.trigger 20:40:13 Executing eudev-3.2.11-r0.trigger 20:40:13 OK: 331 MiB in 131 packages 20:40:16 Removing intermediate container 662862efadb0 20:40:16 ---> 37201681a3a1 20:40:16 Step 8/13 : WORKDIR /device-usb-camera 20:40:16 ---> Running in 498adeb440c7 20:40:16 Removing intermediate container 498adeb440c7 20:40:16 ---> a15659281d97 20:40:16 Step 9/13 : COPY go.mod vendor* ./ 20:40:17 ---> 523a2a8192d0 20:40:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:17 ---> Running in e305551cb9fd 20:40:49 Removing intermediate container e305551cb9fd 20:40:49 ---> 78dbf754ff2f 20:40:49 Step 11/13 : COPY . . 20:40:49 ---> 1dfe4518182c 20:40:49 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:40:49 ---> Running in c2d682f8fa62 20:40:49  % Total % Received % Xferd Average Speed Time Time Time Current 20:40:49 Dload Upload Total Spent Left Speed 20:40:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45226 0 --:--:-- --:--:-- --:--:-- 46173 20:40:49 Removing intermediate container c2d682f8fa62 20:40:49 ---> 7c37e9ed4f80 20:40:49 Step 13/13 : RUN ${MAKE} 20:40:49 ---> Running in 08161be6a176 20:40:49 noop 20:40:49 Removing intermediate container 08161be6a176 20:40:49 ---> 2bdb87278dc0 20:40:49 Successfully built 2bdb87278dc0 20:40:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:49 + docker inspect -f . ci-base-image-x86_64 20:40:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:49 prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container 20:40:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-172 -v /w/workspace/foundry_device-usb-camera_PR-172:/w/workspace/foundry_device-usb-camera_PR-172:rw,z -v /w/workspace/foundry_device-usb-camera_PR-172@tmp:/w/workspace/foundry_device-usb-camera_PR-172@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:40:50 $ docker top 84cafe6e4c584b744da6a8a72e8c45ed7f24c32649337030f735a3278d60f911 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:50 + go version 20:40:50 go version go1.18.7 linux/amd64 [Pipeline] } 20:40:50 $ docker stop --time=1 84cafe6e4c584b744da6a8a72e8c45ed7f24c32649337030f735a3278d60f911 20:40:51 $ docker rm -f --volumes 84cafe6e4c584b744da6a8a72e8c45ed7f24c32649337030f735a3278d60f911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:52 + docker inspect -f . ci-base-image-x86_64 20:40:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:52 prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container 20:40:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-172 -v /w/workspace/foundry_device-usb-camera_PR-172:/w/workspace/foundry_device-usb-camera_PR-172:rw,z -v /w/workspace/foundry_device-usb-camera_PR-172@tmp:/w/workspace/foundry_device-usb-camera_PR-172@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:40:52 $ docker top cbf372df73cd03d6ce0bad8ed75689863b4eeda694aa2a732a2c1ce3c1aca29e -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:52 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-172 [Pipeline] fileExists [Pipeline] sh 20:40:53 + make test 20:40:53 go test ./... -coverprofile=coverage.out ./... 20:40:53 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:41:01 # github.com/edgexfoundry/device-usb-camera/internal/driver 20:41:01 internal/driver/driver.go:306:35: cannot use path (variable of type any) as type string in argument to getUSBDeviceIdInfo: 20:41:01 need type assertion 20:41:01 internal/driver/driver.go:364:37: cannot use fdPath (variable of type any) as type string in argument to getUSBDeviceIdInfo: 20:41:01 need type assertion 20:41:01 internal/driver/driver.go:433:9: cannot use value (variable of type any) as type string in return statement: 20:41:01 need type assertion 20:41:01 internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len 20:41:01 internal/driver/driver.go:621:10: invalid argument: cn (variable of type any) for len 20:41:01 internal/driver/driver.go:621:25: invalid argument: sn (variable of type any) for len 20:41:01 internal/driver/driver.go:622:8: invalid operation: operator + not defined on cn (variable of type any) 20:41:01 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 20:41:01 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 20:41:01 $ docker stop --time=1 cbf372df73cd03d6ce0bad8ed75689863b4eeda694aa2a732a2c1ce3c1aca29e 20:41:03 $ docker rm -f --volumes cbf372df73cd03d6ce0bad8ed75689863b4eeda694aa2a732a2c1ce3c1aca29e [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:41:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:04 20:41:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:04 latest: Pulling from edgex-lftools-log-publisher 20:41:04 5eb5b503b376: Pulling fs layer 20:41:04 5c69ac0246d0: Pulling fs layer 20:41:04 ec43610c2a17: Pulling fs layer 20:41:04 3a2ae6a8a46f: Pulling fs layer 20:41:04 33b1e0a273af: Pulling fs layer 20:41:04 5d3b04190fa2: Pulling fs layer 20:41:04 2f39f015ded8: Pulling fs layer 20:41:04 33b1e0a273af: Waiting 20:41:04 3a2ae6a8a46f: Waiting 20:41:04 5d3b04190fa2: Waiting 20:41:04 2f39f015ded8: Waiting 20:41:04 5c69ac0246d0: Verifying Checksum 20:41:04 5c69ac0246d0: Download complete 20:41:04 3a2ae6a8a46f: Verifying Checksum 20:41:04 3a2ae6a8a46f: Download complete 20:41:05 33b1e0a273af: Verifying Checksum 20:41:05 33b1e0a273af: Download complete 20:41:05 5d3b04190fa2: Download complete 20:41:05 ec43610c2a17: Download complete 20:41:05 5eb5b503b376: Verifying Checksum 20:41:05 5eb5b503b376: Download complete 20:41:05 2f39f015ded8: Download complete 20:41:06 5eb5b503b376: Pull complete 20:41:06 5c69ac0246d0: Pull complete 20:41:06 ec43610c2a17: Pull complete 20:41:06 3a2ae6a8a46f: Pull complete 20:41:06 33b1e0a273af: Pull complete 20:41:06 5d3b04190fa2: Pull complete 20:41:11 2f39f015ded8: Pull complete 20:41:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:41:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:11 prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container 20:41:11 $ 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/foundry_device-usb-camera_PR-172 -v /w/workspace/foundry_device-usb-camera_PR-172:/w/workspace/foundry_device-usb-camera_PR-172:rw,z -v /w/workspace/foundry_device-usb-camera_PR-172@tmp:/w/workspace/foundry_device-usb-camera_PR-172@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:41:15 $ docker top 0e28c1cd410469df0c87f84262902e187fbe581f165287810ead9dfa36e67333 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:15 ---> job-cost.sh 20:41:15 lf-activate-venv: SKIPPING 20:41:15 INFO: No Stack... 20:41:15 INFO: Retrieving Pricing Info for: v3-standard-8 20:41:16 INFO: Archiving Costs [Pipeline] sh 20:41:16 + cat /w/workspace/foundry_device-usb-camera_PR-172/archives/cost.csv 20:41:16 + cut -d, -f6 [Pipeline] lock 20:41:16 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-172-2-stack-cost] 20:41:16 Resource [jenkins-edgexfoundry-device-usb-camera-PR-172-2-stack-cost] did not exist. Created. 20:41:16 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-172-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:41:17 + echo total: 0.2199999988079071 [Pipeline] stash 20:41:17 Stashed 1 file(s) [Pipeline] } 20:41:17 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-172-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:41:17 $ docker stop --time=1 0e28c1cd410469df0c87f84262902e187fbe581f165287810ead9dfa36e67333 20:41:18 $ docker rm -f --volumes 0e28c1cd410469df0c87f84262902e187fbe581f165287810ead9dfa36e67333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:41:18 Failed in branch amd64 20:42:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8884 in /w/workspace/foundry_device-usb-camera_PR-172 [Pipeline] { [Pipeline] ws 20:42:46 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 20:42:46 Selected Git installation does not exist. Using Default 20:42:46 The recommended git tool is: NONE 20:42:54 using credential edgex-jenkins-ssh 20:42:54 Cloning the remote Git repository 20:42:54 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:42:54 > git init /w/workspace/device-usb-camera/2 # timeout=10 20:42:54 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:42:54 > git --version # timeout=10 20:42:54 > git --version # 'git version 2.25.1' 20:42:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:55 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:42:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:56 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:42:56 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:42:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:42:57 Merging remotes/origin/main commit 3323a63d0afd632e576abad22becd63271ca5b86 into PR head commit a9c05b70e9d6ccbd05b537db3444868d49afa9d2 20:42:57 Merge succeeded, producing a9c05b70e9d6ccbd05b537db3444868d49afa9d2 20:42:57 Checking out Revision a9c05b70e9d6ccbd05b537db3444868d49afa9d2 (PR-172) 20:42:58 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:57 > git config core.sparsecheckout # timeout=10 20:42:57 > git checkout -f a9c05b70e9d6ccbd05b537db3444868d49afa9d2 # timeout=10 20:42:57 > git remote # timeout=10 20:42:57 > git config --get remote.origin.url # timeout=10 20:42:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:57 > git merge 3323a63d0afd632e576abad22becd63271ca5b86 # timeout=10 20:42:57 > git rev-parse HEAD^{commit} # timeout=10 20:42:57 > git config core.sparsecheckout # timeout=10 20:42:57 > git checkout -f a9c05b70e9d6ccbd05b537db3444868d49afa9d2 # timeout=10 20:42:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:42:59 % Total % Received % Xferd Average Speed Time Time Time Current 20:42:59 Dload Upload Total Spent Left Speed 20:42:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 20:42:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:43:00 + sudo tee /etc/docker/daemon.new 20:43:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:43:00 { 20:43:00 "registry-mirrors": [ 20:43:00 "https://nexus3.edgexfoundry.org:10001" 20:43:00 ], 20:43:00 "bip": "10.250.0.254/24", 20:43:00 "hosts": [ 20:43:00 "tcp://0.0.0.0:5555", 20:43:00 "unix:///var/run/docker.sock" 20:43:00 ], 20:43:00 "mtu": 1458, 20:43:00 "selinux-enabled": true, 20:43:00 "seccomp-profile": "/etc/docker/seccomp.json" 20:43:00 } [Pipeline] sh 20:43:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:43:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:19 provisioning config files... 20:43:19 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config8386616049648905898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:19 ---> docker-login.sh 20:43:19 nexus3.edgexfoundry.org:10001 20:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:20 Configure a credential helper to remove this warning. See 20:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:20 20:43:20 Login Succeeded 20:43:20 nexus3.edgexfoundry.org:10002 20:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:20 Configure a credential helper to remove this warning. See 20:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:20 20:43:20 Login Succeeded 20:43:20 nexus3.edgexfoundry.org:10003 20:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:21 Configure a credential helper to remove this warning. See 20:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:21 20:43:21 Login Succeeded 20:43:21 nexus3.edgexfoundry.org:10004 20:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:21 Configure a credential helper to remove this warning. See 20:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:21 20:43:21 Login Succeeded 20:43:21 docker.io 20:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:22 Configure a credential helper to remove this warning. See 20:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:22 20:43:22 Login Succeeded 20:43:22 ---> docker-login.sh ends [Pipeline] } 20:43:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:22 ========================================================= 20:43:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:43:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:23 + 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:43:23 Sending build context to Docker daemon 1.149MB 20:43:23 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:43:23 Step 2/13 : FROM ${BASE} AS builder 20:43:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:43:23 9b18e9b68314: Pulling fs layer 20:43:23 35d82f9e3411: Pulling fs layer 20:43:23 e16973657156: Pulling fs layer 20:43:23 fc693d55d65f: Pulling fs layer 20:43:23 7e9fc2657dce: Pulling fs layer 20:43:23 dda99020689f: Pulling fs layer 20:43:23 db1c61fa0a46: Pulling fs layer 20:43:23 891c053d2c06: Pulling fs layer 20:43:23 fc693d55d65f: Waiting 20:43:23 7e9fc2657dce: Waiting 20:43:23 dda99020689f: Waiting 20:43:23 db1c61fa0a46: Waiting 20:43:23 891c053d2c06: Waiting 20:43:23 e16973657156: Verifying Checksum 20:43:23 e16973657156: Download complete 20:43:23 35d82f9e3411: Download complete 20:43:23 7e9fc2657dce: Verifying Checksum 20:43:23 7e9fc2657dce: Download complete 20:43:23 dda99020689f: Verifying Checksum 20:43:23 dda99020689f: Download complete 20:43:23 9b18e9b68314: Verifying Checksum 20:43:23 9b18e9b68314: Download complete 20:43:25 9b18e9b68314: Pull complete 20:43:25 891c053d2c06: Verifying Checksum 20:43:25 891c053d2c06: Download complete 20:43:25 35d82f9e3411: Pull complete 20:43:25 e16973657156: Pull complete 20:43:26 db1c61fa0a46: Verifying Checksum 20:43:26 db1c61fa0a46: Download complete 20:43:26 fc693d55d65f: Verifying Checksum 20:43:26 fc693d55d65f: Download complete 20:43:39 fc693d55d65f: Pull complete 20:43:39 7e9fc2657dce: Pull complete 20:43:39 dda99020689f: Pull complete 20:43:44 db1c61fa0a46: Pull complete 20:43:46 891c053d2c06: Pull complete 20:43:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:43:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:43:46 ---> f96f9c87975a 20:43:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:43:50 ---> Running in b49b4b72afe0 20:43:50 Removing intermediate container b49b4b72afe0 20:43:50 ---> 1cf7a8c3b307 20:43:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:50 ---> Running in 9fabc8dfd599 20:43:50 Removing intermediate container 9fabc8dfd599 20:43:50 ---> e4739bd2a564 20:43:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:43:50 ---> Running in 8e23901e1a9b 20:43:50 Removing intermediate container 8e23901e1a9b 20:43:50 ---> 7953382de216 20:43:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:43:51 ---> Running in 9fce05f269dd 20:43:51 Removing intermediate container 9fce05f269dd 20:43:51 ---> 5794fb78fa99 20:43:51 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:51 ---> Running in 18e4f7e60d21 20:43:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:43:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:43:54 (1/14) Installing libintl (0.21-r2) 20:43:54 (2/14) Installing eudev-libs (3.2.11-r0) 20:43:54 (3/14) Installing libjpeg-turbo (2.1.3-r1) 20:43:54 (4/14) Installing v4l-utils-libs (1.22.1-r1) 20:43:54 (5/14) Installing v4l-utils (1.22.1-r1) 20:43:54 (6/14) Installing udev-init-scripts (35-r0) 20:43:54 Executing udev-init-scripts-35-r0.post-install 20:43:54 (7/14) Installing libblkid (2.38-r1) 20:43:54 (8/14) Installing xz-libs (5.2.5-r1) 20:43:54 (9/14) Installing zstd-libs (1.5.2-r1) 20:43:54 (10/14) Installing kmod-libs (29-r2) 20:43:54 (11/14) Installing eudev (3.2.11-r0) 20:43:54 (12/14) Installing eudev-dev (3.2.11-r0) 20:43:54 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:43:54 (14/14) Installing v4l-utils-dev (1.22.1-r1) 20:43:54 Executing busybox-1.35.0-r17.trigger 20:43:54 Executing eudev-3.2.11-r0.trigger 20:43:54 OK: 228 MiB in 65 packages 20:43:56 Removing intermediate container 18e4f7e60d21 20:43:56 ---> 0d0081fc303d 20:43:56 Step 8/13 : WORKDIR /device-usb-camera 20:43:56 ---> Running in 31f72f31285d 20:43:56 Removing intermediate container 31f72f31285d 20:43:56 ---> 66d4801be8d5 20:43:56 Step 9/13 : COPY go.mod vendor* ./ 20:43:57 ---> 61d5c3c6366c 20:43:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:57 ---> Running in 2e9b20bff5e3 20:45:05 Removing intermediate container 2e9b20bff5e3 20:45:05 ---> b016db7ae2fc 20:45:05 Step 11/13 : COPY . . 20:45:06 ---> 92eae657cc91 20:45:06 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:45:06 ---> Running in 01877470177c 20:45:07  % Total % Received % Xferd Average Speed Time Time Time Current 20:45:07 Dload Upload Total  Spent Left Speed 20:45:08 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6461 0 --:--:-- --:--:-- --:--:-- 6515 20:45:09 Removing intermediate container 01877470177c 20:45:09 ---> 861b01dfba7e 20:45:09 Step 13/13 : RUN ${MAKE} 20:45:09 ---> Running in 6754f98b3ea2 20:45:10 noop 20:45:10 Removing intermediate container 6754f98b3ea2 20:45:10 ---> 14d8dc6961af 20:45:10 Successfully built 14d8dc6961af 20:45:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:10 + docker inspect -f . ci-base-image-arm64 20:45:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:11 prd-ubuntu20.04-docker-arm64-4c-16g-8884 does not seem to be running inside a container 20:45:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 ******** ci-base-image-arm64 cat 20:45:12 $ docker top ec6b50c8b6972c7122bee6b8269f5430cc6a54981ff301aaed0b57f5b6c94287 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:13 + go version 20:45:13 go version go1.18.7 linux/arm64 [Pipeline] } 20:45:13 $ docker stop --time=1 ec6b50c8b6972c7122bee6b8269f5430cc6a54981ff301aaed0b57f5b6c94287 20:45:15 $ docker rm -f --volumes ec6b50c8b6972c7122bee6b8269f5430cc6a54981ff301aaed0b57f5b6c94287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:16 + docker inspect -f . ci-base-image-arm64 20:45:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:16 prd-ubuntu20.04-docker-arm64-4c-16g-8884 does not seem to be running inside a container 20:45:16 $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 ******** ci-base-image-arm64 cat 20:45:17 $ docker top 8ce13c4835058df5f25b5fdd6371fd7c0b31c9b0fc92bcd11be2b10988200b60 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:18 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 20:45:19 + make test 20:45:19 go test ./... -coverprofile=coverage.out ./... 20:45:21 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:46:58 # github.com/edgexfoundry/device-usb-camera/internal/driver 20:46:58 internal/driver/driver.go:306:35: cannot use path (variable of type any) as type string in argument to getUSBDeviceIdInfo: 20:46:58 need type assertion 20:46:58 internal/driver/driver.go:364:37: cannot use fdPath (variable of type any) as type string in argument to getUSBDeviceIdInfo: 20:46:58 need type assertion 20:46:58 internal/driver/driver.go:433:9: cannot use value (variable of type any) as type string in return statement: 20:46:58 need type assertion 20:46:58 internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len 20:46:58 internal/driver/driver.go:621:10: invalid argument: cn (variable of type any) for len 20:46:58 internal/driver/driver.go:621:25: invalid argument: sn (variable of type any) for len 20:46:58 internal/driver/driver.go:622:8: invalid operation: operator + not defined on cn (variable of type any) 20:47:06 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 20:47:06 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 20:47:06 $ docker stop --time=1 8ce13c4835058df5f25b5fdd6371fd7c0b31c9b0fc92bcd11be2b10988200b60 20:47:08 $ docker rm -f --volumes 8ce13c4835058df5f25b5fdd6371fd7c0b31c9b0fc92bcd11be2b10988200b60 [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:47:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:09 20:47:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:10 arm64: Pulling from edgex-lftools-log-publisher 20:47:10 8998bd30e6a1: Pulling fs layer 20:47:10 04944245beec: Pulling fs layer 20:47:10 699f458cf7ca: Pulling fs layer 20:47:10 765212b225bb: Pulling fs layer 20:47:10 f23df028b6ca: Pulling fs layer 20:47:10 d65c8cfc05b1: Pulling fs layer 20:47:10 2437ff75d9bd: Pulling fs layer 20:47:10 765212b225bb: Waiting 20:47:10 f23df028b6ca: Waiting 20:47:10 d65c8cfc05b1: Waiting 20:47:10 2437ff75d9bd: Waiting 20:47:10 04944245beec: Verifying Checksum 20:47:10 04944245beec: Download complete 20:47:10 765212b225bb: Verifying Checksum 20:47:10 765212b225bb: Download complete 20:47:10 f23df028b6ca: Verifying Checksum 20:47:10 f23df028b6ca: Download complete 20:47:10 d65c8cfc05b1: Verifying Checksum 20:47:10 d65c8cfc05b1: Download complete 20:47:10 699f458cf7ca: Verifying Checksum 20:47:10 699f458cf7ca: Download complete 20:47:11 8998bd30e6a1: Verifying Checksum 20:47:11 8998bd30e6a1: Download complete 20:47:14 2437ff75d9bd: Verifying Checksum 20:47:14 2437ff75d9bd: Download complete 20:47:18 8998bd30e6a1: Pull complete 20:47:18 04944245beec: Pull complete 20:47:21 699f458cf7ca: Pull complete 20:47:21 765212b225bb: Pull complete 20:47:22 f23df028b6ca: Pull complete 20:47:23 d65c8cfc05b1: Pull complete 20:47:41 2437ff75d9bd: Pull complete 20:47:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:47:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:41 prd-ubuntu20.04-docker-arm64-4c-16g-8884 does not seem to be running inside a container 20:47:41 $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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:arm64 cat 20:47:43 $ docker top 3e4645beb6e4fca3ef51d45aa6b3fc97544e8226daef1ccc75a619e2da1e2002 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:44 ---> job-cost.sh 20:47:44 lf-activate-venv: SKIPPING 20:47:44 INFO: No Stack... 20:47:44 INFO: Retrieving Pricing Info for: v3-standard-4 20:47:45 INFO: Archiving Costs [Pipeline] sh 20:47:46 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 20:47:46 + cut -d, -f6 [Pipeline] lock 20:47:46 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-172-2-stack-cost] 20:47:46 Resource [jenkins-edgexfoundry-device-usb-camera-PR-172-2-stack-cost] did not exist. Created. 20:47:46 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-172-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:46 /w/workspace/device-usb-camera/2@tmp/durable-24c718d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:47:47 + echo total: 0.10999999940395355 [Pipeline] stash 20:47:47 Warning: overwriting stash ‘stack-cost’ 20:47:48 Stashed 1 file(s) [Pipeline] } 20:47:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-172-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:47:48 $ docker stop --time=1 3e4645beb6e4fca3ef51d45aa6b3fc97544e8226daef1ccc75a619e2da1e2002 20:47:50 $ docker rm -f --volumes 3e4645beb6e4fca3ef51d45aa6b3fc97544e8226daef1ccc75a619e2da1e2002 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:47:50 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:47:51 + [ -d /w/workspace/foundry_device-usb-camera_PR-172/archives ] 20:47:51 + ls -al /w/workspace/foundry_device-usb-camera_PR-172/archives 20:47:51 total 16 20:47:51 drwxr-xr-x 3 root root 4096 Mar 8 20:41 . 20:47:51 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 20:41 .. 20:47:51 drwxr-xr-x 2 root root 4096 Mar 8 20:41 cost 20:47:51 -rw-r--r-- 1 root root 89 Mar 8 20:41 cost.csv 20:47:51 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-172/archives 20:47:51 + ls -al /w/workspace/foundry_device-usb-camera_PR-172/archives 20:47:51 total 16 20:47:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 20:41 . 20:47:51 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 20:41 .. 20:47:51 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 20:41 cost 20:47:51 -rw-r--r-- 1 jenkins jenkins 89 Mar 8 20:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:47:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:47:52 ---> package-listing.sh 20:47:52 ++ facter osfamily 20:47:52 ++ tr '[:upper:]' '[:lower:]' 20:47:52 + OS_FAMILY=debian 20:47:52 + workspace=/w/workspace/foundry_device-usb-camera_PR-172 20:47:52 + START_PACKAGES=/tmp/packages_start.txt 20:47:52 + END_PACKAGES=/tmp/packages_end.txt 20:47:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:47:52 + PACKAGES=/tmp/packages_start.txt 20:47:52 + '[' /w/workspace/foundry_device-usb-camera_PR-172 ']' 20:47:52 + PACKAGES=/tmp/packages_end.txt 20:47:52 + case "${OS_FAMILY}" in 20:47:52 + dpkg -l 20:47:52 + grep '^ii' 20:47:52 + '[' -f /tmp/packages_start.txt ']' 20:47:52 + '[' -f /tmp/packages_end.txt ']' 20:47:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:47:52 + '[' /w/workspace/foundry_device-usb-camera_PR-172 ']' 20:47:52 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-172/archives/ 20:47:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-172/archives/ [Pipeline] echo 20:47:52 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/foundry_device-usb-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:47:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:53 prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container 20:47:53 $ 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/foundry_device-usb-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-172 -v /w/workspace/foundry_device-usb-camera_PR-172:/w/workspace/foundry_device-usb-camera_PR-172:rw,z -v /w/workspace/foundry_device-usb-camera_PR-172@tmp:/w/workspace/foundry_device-usb-camera_PR-172@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:47:53 $ docker top 93ba27b02a5207f12f05e07941b153d0b8b61f264908a43876d4099638301b62 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:54 + touch /tmp/pre-build-complete [Pipeline] sh 20:47:54 + mkdir -p /var/log/sysstat [Pipeline] sh 20:47:54 + ls /var/log/sa-host 20:47:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:54 provisioning config files... 20:47:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-172@tmp/config6048448555037101294tmp [Pipeline] { [Pipeline] echo 20:47:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:47:55 ---> create-netrc.sh [Pipeline] } 20:47:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:47:55 ---> python-tools-install.sh [Pipeline] echo 20:47:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:47:55 ---> sudo-logs.sh 20:47:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:47:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:47:55 ---> job-cost.sh 20:47:55 lf-activate-venv: SKIPPING 20:47:55 DEBUG: total: 0.2199999988079071 20:47:55 INFO: Retrieving Stack Cost... 20:47:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:56 INFO: Archiving Costs [Pipeline] echo 20:47:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:47:56 ---> logs-deploy.sh 20:47:56 lf-activate-venv: SKIPPING 20:47:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-172/2 20:47:56 INFO: archiving workspace using pattern(s): 20:47:57 Archives upload complete. 20:47:57 INFO: archiving logs to Nexus