Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6574c123ba7811a765969a6cda3c765040bc5065+4e47f77b753d7b234baa04d32f403ab5d967214f (caff94049689ca6fec40fd5623a880d5c6ff8a2c) 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-ssh15291827719091052449.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-ssh12756848249784798805.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-177/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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13001277592877381200.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-ssh5779992394670744404.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-177/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-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16981089137164595790.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9739 in /w/workspace/foundry_device-usb-camera_PR-177 [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-177 # 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 4e47f77b753d7b234baa04d32f403ab5d967214f into PR head commit 6574c123ba7811a765969a6cda3c765040bc5065 > 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/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing b939fbfc78705b45fa69d53a96641e1a68558fd7 Checking out Revision b939fbfc78705b45fa69d53a96641e1a68558fd7 (PR-177) > git checkout -f 6574c123ba7811a765969a6cda3c765040bc5065 # 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 4e47f77b753d7b234baa04d32f403ab5d967214f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b939fbfc78705b45fa69d53a96641e1a68558fd7 # timeout=10 Commit message: "Merge commit '4e47f77b753d7b234baa04d32f403ab5d967214f' into HEAD" > git rev-list --no-walk 6574c123ba7811a765969a6cda3c765040bc5065 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:17 ========================================================= 06:15:17 EdgeX Global Pipelines Version Info 06:15:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:18 ------------------- 06:15:18 stable info: 06:15:18 ------------------- 06:15:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:15:18 Message: update stable to v1.0.244 06:15:19 ------------------- 06:15:19 experimental info: 06:15:19 ------------------- 06:15:19 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:15:19 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b939fbfc78705b45fa69d53a96641e1a68558fd7 [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b939fbf [Pipeline] echo 06:15:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:19 provisioning config files... 06:15:19 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-177@tmp/config13382654175927366735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:20 ---> docker-login.sh 06:15:20 nexus3.edgexfoundry.org:10001 06:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:20 Configure a credential helper to remove this warning. See 06:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:20 06:15:20 Login Succeeded 06:15:20 nexus3.edgexfoundry.org:10002 06:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:20 Configure a credential helper to remove this warning. See 06:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:20 06:15:20 Login Succeeded 06:15:20 nexus3.edgexfoundry.org:10003 06:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:20 Configure a credential helper to remove this warning. See 06:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:20 06:15:20 Login Succeeded 06:15:20 nexus3.edgexfoundry.org:10004 06:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:20 Configure a credential helper to remove this warning. See 06:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:20 06:15:20 Login Succeeded 06:15:20 docker.io 06:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:21 Configure a credential helper to remove this warning. See 06:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:21 06:15:21 Login Succeeded 06:15:21 ---> docker-login.sh ends [Pipeline] } 06:15:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:15:21 + git rev-list -1 --merges b939fbfc78705b45fa69d53a96641e1a68558fd7~1..b939fbfc78705b45fa69d53a96641e1a68558fd7 [Pipeline] echo 06:15:21 -----------> git rev-list -1 --merges b939fbfc78705b45fa69d53a96641e1a68558fd7~1..b939fbfc78705b45fa69d53a96641e1a68558fd7 b939fbfc78705b45fa69d53a96641e1a68558fd7 06:15:21 b939fbfc78705b45fa69d53a96641e1a68558fd7 [false] [Pipeline] sh 06:15:21 + git log --format=format:%s -1 b939fbfc78705b45fa69d53a96641e1a68558fd7 [Pipeline] echo 06:15:21 ========================================================= 06:15:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:15:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:22 + git log --format=format:%s -1 b939fbfc78705b45fa69d53a96641e1a68558fd7 [Pipeline] echo 06:15:22 [semverPrep] GIT_COMMIT: b939fbfc78705b45fa69d53a96641e1a68558fd7, Commit Message: Merge commit '4e47f77b753d7b234baa04d32f403ab5d967214f' into HEAD [Pipeline] echo 06:15:22 [semverPrep] This is not a build commit. [Pipeline] sh 06:15:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:22 + grep -v github /etc/ssh/ssh_known_hosts 06:15:22 + [ -e /tmp/ssh_known_hosts ] 06:15:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:15:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:15:22 + sudo tee -a /etc/ssh/ssh_known_hosts 06:15:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:23 06:15:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:23 0.1.4: Pulling from edgex-devops/py-git-semver 06:15:23 b85a868b505f: Pulling fs layer 06:15:23 e2be974225ed: Pulling fs layer 06:15:23 339a4e72a1f5: Pulling fs layer 06:15:23 988bab9f4d93: Pulling fs layer 06:15:23 1469e6f7b9e6: Pulling fs layer 06:15:23 eaf3925da568: Pulling fs layer 06:15:23 bab4dde63d76: Pulling fs layer 06:15:23 bde34c3a00c8: Pulling fs layer 06:15:23 b352a97aabf1: Pulling fs layer 06:15:23 988bab9f4d93: Waiting 06:15:23 4872d77fe225: Pulling fs layer 06:15:23 5851b861e8e6: Pulling fs layer 06:15:23 1469e6f7b9e6: Waiting 06:15:23 bab4dde63d76: Waiting 06:15:23 bde34c3a00c8: Waiting 06:15:23 b352a97aabf1: Waiting 06:15:23 4872d77fe225: Waiting 06:15:23 e2be974225ed: Download complete 06:15:23 988bab9f4d93: Verifying Checksum 06:15:23 988bab9f4d93: Download complete 06:15:23 1469e6f7b9e6: Verifying Checksum 06:15:23 1469e6f7b9e6: Download complete 06:15:23 339a4e72a1f5: Verifying Checksum 06:15:23 339a4e72a1f5: Download complete 06:15:23 eaf3925da568: Verifying Checksum 06:15:23 eaf3925da568: Download complete 06:15:23 bde34c3a00c8: Download complete 06:15:23 b352a97aabf1: Verifying Checksum 06:15:23 4872d77fe225: Download complete 06:15:23 5851b861e8e6: Download complete 06:15:23 b85a868b505f: Download complete 06:15:24 bab4dde63d76: Verifying Checksum 06:15:24 bab4dde63d76: Download complete 06:15:25 b85a868b505f: Pull complete 06:15:25 e2be974225ed: Pull complete 06:15:25 339a4e72a1f5: Pull complete 06:15:25 988bab9f4d93: Pull complete 06:15:25 1469e6f7b9e6: Pull complete 06:15:26 eaf3925da568: Pull complete 06:15:28 bab4dde63d76: Pull complete 06:15:28 bde34c3a00c8: Pull complete 06:15:28 b352a97aabf1: Pull complete 06:15:28 4872d77fe225: Pull complete 06:15:28 5851b861e8e6: Pull complete 06:15:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:15:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:28 prd-ubuntu20.04-docker-8c-8g-9739 does not seem to be running inside a container 06:15:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-177 -v /w/workspace/foundry_device-usb-camera_PR-177:/w/workspace/foundry_device-usb-camera_PR-177:rw,z -v /w/workspace/foundry_device-usb-camera_PR-177@tmp:/w/workspace/foundry_device-usb-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:15:29 $ docker top 51b262d415267cd7dd8a3a29e8e39b3feef438673d1e64925d6198ae7d53e11f -eo pid,comm 06:15:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:15:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:29 [ssh-agent] Looking for ssh-agent implementation... 06:15:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:29 $ docker exec 51b262d415267cd7dd8a3a29e8e39b3feef438673d1e64925d6198ae7d53e11f ssh-agent 06:15:30 SSH_AUTH_SOCK=/tmp/ssh-rw8k94WGhE9F/agent.31 06:15:30 SSH_AGENT_PID=37 06:15:30 Running ssh-add (command line suppressed) 06:15:30 Identity added: /w/workspace/foundry_device-usb-camera_PR-177@tmp/private_key_16447840559191606594.key (/w/workspace/foundry_device-usb-camera_PR-177@tmp/private_key_16447840559191606594.key) 06:15:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:30 + git tag --points-at HEAD [Pipeline] } 06:15:30 $ docker exec --env ******** --env ******** 51b262d415267cd7dd8a3a29e8e39b3feef438673d1e64925d6198ae7d53e11f ssh-agent -k 06:15:30 unset SSH_AUTH_SOCK; 06:15:30 unset SSH_AGENT_PID; 06:15:30 echo Agent pid 37 killed; 06:15:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:30 [ssh-agent] Looking for ssh-agent implementation... 06:15:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:30 $ docker exec 51b262d415267cd7dd8a3a29e8e39b3feef438673d1e64925d6198ae7d53e11f ssh-agent 06:15:30 SSH_AUTH_SOCK=/tmp/ssh-UzbfkmuY6YZr/agent.69 06:15:30 SSH_AGENT_PID=75 06:15:30 Running ssh-add (command line suppressed) 06:15:31 Identity added: /w/workspace/foundry_device-usb-camera_PR-177@tmp/private_key_6444891230912777574.key (/w/workspace/foundry_device-usb-camera_PR-177@tmp/private_key_6444891230912777574.key) 06:15:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:31 + git semver init 06:15:31 2023-03-11 06:15:31,507 [run_init] DEBUG init version:0.0.0 force:False 06:15:31 2023-03-11 06:15:31,508 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-177/.semver 06:15:31 2023-03-11 06:15:31,509 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-177/.semver 06:15:31 2023-03-11 06:15:31,509 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-177/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-177, universal_newlines=False, shell=None, istream=None) 06:15:32 2023-03-11 06:15:32,197 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-177/.git/info/exclude 06:15:32 2023-03-11 06:15:32,198 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-177/.semver/PR-177 with force:False 06:15:32 2023-03-11 06:15:32,198 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-177/.semver/PR-177 06:15:32 2023-03-11 06:15:32,203 [execute] INFO git cat-file --batch-check 06:15:32 2023-03-11 06:15:32,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) 06:15:32 2023-03-11 06:15:32,210 [execute] INFO git cat-file --batch 06:15:32 2023-03-11 06:15:32,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) 06:15:32 2023-03-11 06:15:32,216 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-177/.semver/PR-177 06:15:32 0.0.0 [Pipeline] } 06:15:32 $ docker exec --env ******** --env ******** 51b262d415267cd7dd8a3a29e8e39b3feef438673d1e64925d6198ae7d53e11f ssh-agent -k 06:15:32 unset SSH_AUTH_SOCK; 06:15:32 unset SSH_AGENT_PID; 06:15:32 echo Agent pid 75 killed; 06:15:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:32 + git semver [Pipeline] } 06:15:33 $ docker stop --time=1 51b262d415267cd7dd8a3a29e8e39b3feef438673d1e64925d6198ae7d53e11f 06:15:34 $ docker rm -f --volumes 51b262d415267cd7dd8a3a29e8e39b3feef438673d1e64925d6198ae7d53e11f [Pipeline] // withDockerContainer [Pipeline] sh 06:15:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:35 Stashed 1 file(s) [Pipeline] echo 06:15:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:35 provisioning config files... 06:15:35 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-177@tmp/config12019827046608609477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:35 ---> docker-login.sh 06:15:35 nexus3.edgexfoundry.org:10001 06:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:35 Configure a credential helper to remove this warning. See 06:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:35 06:15:35 Login Succeeded 06:15:35 nexus3.edgexfoundry.org:10002 06:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:35 Configure a credential helper to remove this warning. See 06:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:35 06:15:35 Login Succeeded 06:15:35 nexus3.edgexfoundry.org:10003 06:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:35 Configure a credential helper to remove this warning. See 06:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:35 06:15:35 Login Succeeded 06:15:35 nexus3.edgexfoundry.org:10004 06:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:35 Configure a credential helper to remove this warning. See 06:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:35 06:15:35 Login Succeeded 06:15:35 docker.io 06:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:36 Configure a credential helper to remove this warning. See 06:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:36 06:15:36 Login Succeeded 06:15:36 ---> docker-login.sh ends [Pipeline] } 06:15:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:36 ========================================================= 06:15:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:15:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:15:36 Sending build context to Docker daemon 1.804MB 06:15:36 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:15:36 Step 2/13 : FROM ${BASE} AS builder 06:15:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:36 213ec9aee27d: Pulling fs layer 06:15:36 4583459ba037: Pulling fs layer 06:15:36 93c1e223e6f2: Pulling fs layer 06:15:36 53926ce57604: Pulling fs layer 06:15:36 21b2b0c7a3f4: Pulling fs layer 06:15:36 22ff95d597cd: Pulling fs layer 06:15:36 12d6caf4c0d1: Pulling fs layer 06:15:36 96b7cbca73a9: Pulling fs layer 06:15:36 a7acece74701: Pulling fs layer 06:15:36 21b2b0c7a3f4: Waiting 06:15:36 96b7cbca73a9: Waiting 06:15:36 a7acece74701: Waiting 06:15:36 22ff95d597cd: Waiting 06:15:36 12d6caf4c0d1: Waiting 06:15:36 93c1e223e6f2: Verifying Checksum 06:15:36 93c1e223e6f2: Download complete 06:15:36 4583459ba037: Verifying Checksum 06:15:36 4583459ba037: Download complete 06:15:36 21b2b0c7a3f4: Verifying Checksum 06:15:36 21b2b0c7a3f4: Download complete 06:15:36 22ff95d597cd: Verifying Checksum 06:15:36 22ff95d597cd: Download complete 06:15:36 213ec9aee27d: Verifying Checksum 06:15:36 213ec9aee27d: Download complete 06:15:36 12d6caf4c0d1: Download complete 06:15:36 213ec9aee27d: Pull complete 06:15:37 4583459ba037: Pull complete 06:15:37 93c1e223e6f2: Pull complete 06:15:37 a7acece74701: Verifying Checksum 06:15:37 a7acece74701: Download complete 06:15:37 96b7cbca73a9: Verifying Checksum 06:15:37 96b7cbca73a9: Download complete 06:15:37 53926ce57604: Verifying Checksum 06:15:37 53926ce57604: Download complete 06:15:41 53926ce57604: Pull complete 06:15:41 21b2b0c7a3f4: Pull complete 06:15:41 22ff95d597cd: Pull complete 06:15:41 12d6caf4c0d1: Pull complete 06:15:44 96b7cbca73a9: Pull complete 06:15:44 a7acece74701: Pull complete 06:15:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:15:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:15:44 ---> db6d94c90886 06:15:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:15:46 ---> Running in 49085ed2e524 06:15:46 Removing intermediate container 49085ed2e524 06:15:46 ---> 0e5597b8b615 06:15:46 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:46 ---> Running in c39c2765145a 06:15:46 Removing intermediate container c39c2765145a 06:15:46 ---> 3376d18b191c 06:15:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:15:46 ---> Running in aa22c3290656 06:15:46 Removing intermediate container aa22c3290656 06:15:46 ---> 670edd5e7247 06:15:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:15:46 ---> Running in 4f2c8f25e720 06:15:47 Removing intermediate container 4f2c8f25e720 06:15:47 ---> 4a0a6b2b1339 06:15:47 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:47 ---> Running in 83ef350576f2 06:15:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:15:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:15:47 (1/80) Installing mesa (21.3.9-r0) 06:15:47 (2/80) Installing libxau (1.0.9-r0) 06:15:47 (3/80) Installing libxdmcp (1.1.3-r0) 06:15:47 (4/80) Installing libxcb (1.15-r0) 06:15:47 (5/80) Installing libx11 (1.8-r0) 06:15:47 (6/80) Installing libxext (1.3.4-r0) 06:15:47 (7/80) Installing libxfixes (6.0.0-r0) 06:15:47 (8/80) Installing libxxf86vm (1.1.4-r2) 06:15:47 (9/80) Installing libpciaccess (0.16-r0) 06:15:47 (10/80) Installing libdrm (2.4.110-r0) 06:15:47 (11/80) Installing mesa-glapi (21.3.9-r0) 06:15:47 (12/80) Installing libxshmfence (1.3-r1) 06:15:47 (13/80) Installing mesa-gl (21.3.9-r0) 06:15:47 (14/80) Installing icu-data-full (71.1-r2) 06:15:48 (15/80) Installing libice (1.0.10-r0) 06:15:48 (16/80) Installing libuuid (2.38-r1) 06:15:48 (17/80) Installing libsm (1.2.3-r0) 06:15:48 (18/80) Installing libxt (1.2.1-r0) 06:15:48 (19/80) Installing libxmu (1.1.3-r0) 06:15:48 (20/80) Installing xset (1.2.4-r0) 06:15:48 (21/80) Installing xprop (1.2.5-r0) 06:15:48 (22/80) Installing xdg-utils (1.1.3-r3) 06:15:48 (23/80) Installing dbus-libs (1.14.4-r0) 06:15:48 (24/80) Installing libffi (3.4.2-r1) 06:15:48 (25/80) Installing libintl (0.21-r2) 06:15:48 (26/80) Installing libblkid (2.38-r1) 06:15:48 (27/80) Installing libmount (2.38-r1) 06:15:48 (28/80) Installing pcre (8.45-r2) 06:15:48 (29/80) Installing glib (2.72.1-r0) 06:15:48 (30/80) Installing icu-libs (71.1-r2) 06:15:48 (31/80) Installing libpcre2-16 (10.40-r0) 06:15:48 (32/80) Installing zstd-libs (1.5.2-r1) 06:15:48 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 06:15:48 (34/80) Installing hicolor-icon-theme (0.17-r1) 06:15:48 (35/80) Installing wayland-libs-server (1.20.0-r0) 06:15:48 (36/80) Installing mesa-gbm (21.3.9-r0) 06:15:48 (37/80) Installing wayland-libs-client (1.20.0-r0) 06:15:48 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 06:15:48 (39/80) Installing libxcomposite (0.4.5-r0) 06:15:48 (40/80) Installing libbz2 (1.0.8-r1) 06:15:48 (41/80) Installing libpng (1.6.37-r1) 06:15:48 (42/80) Installing freetype (2.12.1-r0) 06:15:48 (43/80) Installing fontconfig (2.14.0-r0) 06:15:48 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 06:15:48 (45/80) Installing wayland-libs-egl (1.20.0-r0) 06:15:48 (46/80) Installing xkeyboard-config (2.35.1-r0) 06:15:48 (47/80) Installing xz-libs (5.2.5-r1) 06:15:48 (48/80) Installing libxml2 (2.9.14-r2) 06:15:48 (49/80) Installing libxkbcommon (1.4.1-r0) 06:15:48 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 06:15:48 (51/80) Installing mesa-egl (21.3.9-r0) 06:15:48 (52/80) Installing avahi-libs (0.8-r6) 06:15:48 (53/80) Installing nettle (3.7.3-r0) 06:15:48 (54/80) Installing p11-kit (0.24.1-r0) 06:15:48 (55/80) Installing libtasn1 (4.18.0-r1) 06:15:48 (56/80) Installing libunistring (1.0-r0) 06:15:48 (57/80) Installing gnutls (3.7.7-r1) 06:15:48 (58/80) Installing cups-libs (2.4.2-r0) 06:15:48 (59/80) Installing graphite2 (1.3.14-r1) 06:15:48 (60/80) Installing harfbuzz (4.3.0-r0) 06:15:48 (61/80) Installing libevdev (1.12.1-r0) 06:15:49 (62/80) Installing mtdev (1.1.6-r0) 06:15:49 (63/80) Installing eudev-libs (3.2.11-r0) 06:15:49 (64/80) Installing libinput-libs (1.20.1-r0) 06:15:49 (65/80) Installing libjpeg-turbo (2.1.3-r1) 06:15:49 (66/80) Installing xcb-util-wm (0.4.1-r1) 06:15:49 (67/80) Installing xcb-util (0.4.0-r3) 06:15:49 (68/80) Installing xcb-util-image (0.4.0-r1) 06:15:49 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 06:15:49 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 06:15:49 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 06:15:49 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 06:15:49 (73/80) Installing v4l-utils-libs (1.22.1-r1) 06:15:49 (74/80) Installing v4l-utils (1.22.1-r1) 06:15:49 (75/80) Installing udev-init-scripts (35-r0) 06:15:49 Executing udev-init-scripts-35-r0.post-install 06:15:49 (76/80) Installing kmod-libs (29-r2) 06:15:49 (77/80) Installing eudev (3.2.11-r0) 06:15:49 (78/80) Installing eudev-dev (3.2.11-r0) 06:15:49 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:15:49 (80/80) Installing v4l-utils-dev (1.22.1-r1) 06:15:49 Executing busybox-1.35.0-r17.trigger 06:15:49 Executing eudev-3.2.11-r0.trigger 06:15:49 OK: 331 MiB in 131 packages 06:15:50 Still waiting to schedule task 06:15:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:15:51 Removing intermediate container 83ef350576f2 06:15:51 ---> 0f60bb4be609 06:15:51 Step 8/13 : WORKDIR /device-usb-camera 06:15:51 ---> Running in 74650cd729fc 06:15:51 Removing intermediate container 74650cd729fc 06:15:51 ---> e81a69201d0e 06:15:51 Step 9/13 : COPY go.mod vendor* ./ 06:15:51 ---> e704a98671cd 06:15:51 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:51 ---> Running in ec44b3c94472 06:16:30 Removing intermediate container ec44b3c94472 06:16:30 ---> 054a5409eba3 06:16:30 Step 11/13 : COPY . . 06:16:30 ---> c64eb71091ee 06:16:30 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:16:30 ---> Running in 94fb20aa3c39 06:16:30  % Total % Received % Xferd Average Speed Time Time Time Current 06:16:30 Dload Upload Total Spent Left Speed 06:16:30  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9665 0 --:--:-- --:--:-- --:--:-- 9743 06:16:30 Removing intermediate container 94fb20aa3c39 06:16:30 ---> b8c95d8c984c 06:16:30 Step 13/13 : RUN ${MAKE} 06:16:30 ---> Running in 5d70f7fe7912 06:16:30 noop 06:16:30 Removing intermediate container 5d70f7fe7912 06:16:30 ---> bbf3c4b2b8cf 06:16:30 Successfully built bbf3c4b2b8cf 06:16:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:30 + docker inspect -f . ci-base-image-x86_64 06:16:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:31 prd-ubuntu20.04-docker-8c-8g-9739 does not seem to be running inside a container 06:16:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-177 -v /w/workspace/foundry_device-usb-camera_PR-177:/w/workspace/foundry_device-usb-camera_PR-177:rw,z -v /w/workspace/foundry_device-usb-camera_PR-177@tmp:/w/workspace/foundry_device-usb-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:31 $ docker top badaaa550235f06d05a0e239b5520e6bb54908017037b124f662fcd65c05315a -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:31 + go version 06:16:31 go version go1.18.7 linux/amd64 [Pipeline] } 06:16:31 $ docker stop --time=1 badaaa550235f06d05a0e239b5520e6bb54908017037b124f662fcd65c05315a 06:16:33 $ docker rm -f --volumes badaaa550235f06d05a0e239b5520e6bb54908017037b124f662fcd65c05315a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:33 + docker inspect -f . ci-base-image-x86_64 06:16:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:33 prd-ubuntu20.04-docker-8c-8g-9739 does not seem to be running inside a container 06:16:33 $ 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-177 -v /w/workspace/foundry_device-usb-camera_PR-177:/w/workspace/foundry_device-usb-camera_PR-177:rw,z -v /w/workspace/foundry_device-usb-camera_PR-177@tmp:/w/workspace/foundry_device-usb-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:34 $ docker top 76852ece6cd50ad7c2110429ac5ed0d278fef885b0eb9b4c81f2bbe4bd075fef -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:34 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-177 [Pipeline] fileExists [Pipeline] sh 06:16:34 + make test 06:16:34 go test ./... -coverprofile=coverage.out ./... 06:16:34 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:16:44 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:16:44 internal/driver/driver.go:37:25: undefined: service.DeviceService 06:16:44 internal/driver/driver.go:77:17: undefined: service.RunningService 06:16:44 internal/driver/driver.go:86:36: undefined: service.DriverConfigs 06:16:44 internal/driver/driver.go:94:26: undefined: service.DriverConfigs 06:16:44 internal/driver/driver.go:306:35: cannot use path (variable of type any) as type string in argument to getUSBDeviceIdInfo: 06:16:44 need type assertion 06:16:44 internal/driver/driver.go:433:9: cannot use value (variable of type any) as type string in return statement: 06:16:44 need type assertion 06:16:44 internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len 06:16:44 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:16:44 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 06:16:44 $ docker stop --time=1 76852ece6cd50ad7c2110429ac5ed0d278fef885b0eb9b4c81f2bbe4bd075fef 06:16:46 $ docker rm -f --volumes 76852ece6cd50ad7c2110429ac5ed0d278fef885b0eb9b4c81f2bbe4bd075fef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:47 06:16:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:47 latest: Pulling from edgex-lftools-log-publisher 06:16:47 5eb5b503b376: Pulling fs layer 06:16:47 5c69ac0246d0: Pulling fs layer 06:16:47 ec43610c2a17: Pulling fs layer 06:16:47 3a2ae6a8a46f: Pulling fs layer 06:16:47 33b1e0a273af: Pulling fs layer 06:16:47 5d3b04190fa2: Pulling fs layer 06:16:47 2f39f015ded8: Pulling fs layer 06:16:47 33b1e0a273af: Waiting 06:16:47 5d3b04190fa2: Waiting 06:16:47 2f39f015ded8: Waiting 06:16:47 3a2ae6a8a46f: Waiting 06:16:47 5c69ac0246d0: Verifying Checksum 06:16:47 5c69ac0246d0: Download complete 06:16:47 3a2ae6a8a46f: Verifying Checksum 06:16:47 3a2ae6a8a46f: Download complete 06:16:47 33b1e0a273af: Verifying Checksum 06:16:47 33b1e0a273af: Download complete 06:16:47 5d3b04190fa2: Verifying Checksum 06:16:47 5d3b04190fa2: Download complete 06:16:47 ec43610c2a17: Verifying Checksum 06:16:47 ec43610c2a17: Download complete 06:16:47 5eb5b503b376: Verifying Checksum 06:16:47 5eb5b503b376: Download complete 06:16:48 2f39f015ded8: Download complete 06:16:49 5eb5b503b376: Pull complete 06:16:49 5c69ac0246d0: Pull complete 06:16:49 ec43610c2a17: Pull complete 06:16:49 3a2ae6a8a46f: Pull complete 06:16:49 33b1e0a273af: Pull complete 06:16:49 5d3b04190fa2: Pull complete 06:16:54 2f39f015ded8: Pull complete 06:16:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:16:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:54 prd-ubuntu20.04-docker-8c-8g-9739 does not seem to be running inside a container 06:16:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-177 -v /w/workspace/foundry_device-usb-camera_PR-177:/w/workspace/foundry_device-usb-camera_PR-177:rw,z -v /w/workspace/foundry_device-usb-camera_PR-177@tmp:/w/workspace/foundry_device-usb-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:16:55 $ docker top 20083cb6de7c511f0fc70891eb74f9c568f2de98940d025c44a5b865f046da18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:55 ---> job-cost.sh 06:16:55 lf-activate-venv: SKIPPING 06:16:55 INFO: No Stack... 06:16:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:56 INFO: Archiving Costs [Pipeline] sh 06:16:56 + cat /w/workspace/foundry_device-usb-camera_PR-177/archives/cost.csv 06:16:56 + cut -d, -f6 [Pipeline] lock 06:16:56 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-177-2-stack-cost] 06:16:56 Resource [jenkins-edgexfoundry-device-usb-camera-PR-177-2-stack-cost] did not exist. Created. 06:16:56 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-177-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:16:57 + echo total: 0.2199999988079071 [Pipeline] stash 06:16:57 Stashed 1 file(s) [Pipeline] } 06:16:57 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-177-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:16:57 $ docker stop --time=1 20083cb6de7c511f0fc70891eb74f9c568f2de98940d025c44a5b865f046da18 06:16:58 $ docker rm -f --volumes 20083cb6de7c511f0fc70891eb74f9c568f2de98940d025c44a5b865f046da18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:16:58 Failed in branch amd64 06:17:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9742 in /w/workspace/foundry_device-usb-camera_PR-177 [Pipeline] { [Pipeline] ws 06:17:21 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 06:17:21 Selected Git installation does not exist. Using Default 06:17:21 The recommended git tool is: NONE 06:17:26 using credential edgex-jenkins-ssh 06:17:26 Cloning the remote Git repository 06:17:26 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:17:26 > git init /w/workspace/device-usb-camera/2 # timeout=10 06:17:26 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:17:26 > git --version # timeout=10 06:17:26 > git --version # 'git version 2.25.1' 06:17:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:27 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:17:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:28 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:17:28 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:17:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:17:28 Merging remotes/origin/main commit 4e47f77b753d7b234baa04d32f403ab5d967214f into PR head commit 6574c123ba7811a765969a6cda3c765040bc5065 06:17:29 Merge succeeded, producing 10aa92691797ff71fc623ac412cfeb58dc09464f 06:17:29 Checking out Revision 10aa92691797ff71fc623ac412cfeb58dc09464f (PR-177) 06:17:28 > git config core.sparsecheckout # timeout=10 06:17:28 > git checkout -f 6574c123ba7811a765969a6cda3c765040bc5065 # timeout=10 06:17:29 > git remote # timeout=10 06:17:29 > git config --get remote.origin.url # timeout=10 06:17:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:29 > git merge 4e47f77b753d7b234baa04d32f403ab5d967214f # timeout=10 06:17:29 > git rev-parse HEAD^{commit} # timeout=10 06:17:29 > git config core.sparsecheckout # timeout=10 06:17:29 > git checkout -f 10aa92691797ff71fc623ac412cfeb58dc09464f # timeout=10 06:17:32 Commit message: "Merge commit '4e47f77b753d7b234baa04d32f403ab5d967214f' into HEAD" 06:17:32 > git rev-list --no-walk 6574c123ba7811a765969a6cda3c765040bc5065 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:17:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:17:33 Dload Upload Total Spent Left Speed 06:17:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 06:17:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:17:34 + sudo tee /etc/docker/daemon.new 06:17:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:17:34 { 06:17:34 "registry-mirrors": [ 06:17:34 "https://nexus3.edgexfoundry.org:10001" 06:17:34 ], 06:17:34 "bip": "10.250.0.254/24", 06:17:34 "hosts": [ 06:17:34 "tcp://0.0.0.0:5555", 06:17:34 "unix:///var/run/docker.sock" 06:17:34 ], 06:17:34 "mtu": 1458, 06:17:34 "selinux-enabled": true, 06:17:34 "seccomp-profile": "/etc/docker/seccomp.json" 06:17:34 } [Pipeline] sh 06:17:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:17:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:53 provisioning config files... 06:17:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config12562342065390496860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:54 ---> docker-login.sh 06:17:54 nexus3.edgexfoundry.org:10001 06:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:54 Configure a credential helper to remove this warning. See 06:17:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:54 06:17:54 Login Succeeded 06:17:54 nexus3.edgexfoundry.org:10002 06:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:54 Configure a credential helper to remove this warning. See 06:17:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:54 06:17:54 Login Succeeded 06:17:54 nexus3.edgexfoundry.org:10003 06:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:55 Configure a credential helper to remove this warning. See 06:17:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:55 06:17:55 Login Succeeded 06:17:55 nexus3.edgexfoundry.org:10004 06:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:55 Configure a credential helper to remove this warning. See 06:17:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:55 06:17:55 Login Succeeded 06:17:55 docker.io 06:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:56 Configure a credential helper to remove this warning. See 06:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:56 06:17:56 Login Succeeded 06:17:56 ---> docker-login.sh ends [Pipeline] } 06:17:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:56 ========================================================= 06:17:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:17:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:17:57 Sending build context to Docker daemon 1.164MB 06:17:57 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:17:57 Step 2/13 : FROM ${BASE} AS builder 06:17:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:17:57 9b18e9b68314: Pulling fs layer 06:17:57 35d82f9e3411: Pulling fs layer 06:17:57 e16973657156: Pulling fs layer 06:17:57 fc693d55d65f: Pulling fs layer 06:17:57 7e9fc2657dce: Pulling fs layer 06:17:57 dda99020689f: Pulling fs layer 06:17:57 db1c61fa0a46: Pulling fs layer 06:17:57 891c053d2c06: Pulling fs layer 06:17:57 dda99020689f: Waiting 06:17:57 891c053d2c06: Waiting 06:17:57 db1c61fa0a46: Waiting 06:17:57 7e9fc2657dce: Waiting 06:17:57 fc693d55d65f: Waiting 06:17:57 e16973657156: Verifying Checksum 06:17:57 e16973657156: Download complete 06:17:57 35d82f9e3411: Download complete 06:17:57 7e9fc2657dce: Verifying Checksum 06:17:57 7e9fc2657dce: Download complete 06:17:57 9b18e9b68314: Verifying Checksum 06:17:57 9b18e9b68314: Download complete 06:17:58 9b18e9b68314: Pull complete 06:17:58 dda99020689f: Verifying Checksum 06:17:58 dda99020689f: Download complete 06:17:59 35d82f9e3411: Pull complete 06:17:59 e16973657156: Pull complete 06:17:59 891c053d2c06: Verifying Checksum 06:17:59 891c053d2c06: Download complete 06:18:00 db1c61fa0a46: Verifying Checksum 06:18:00 db1c61fa0a46: Download complete 06:18:00 fc693d55d65f: Verifying Checksum 06:18:00 fc693d55d65f: Download complete 06:18:12 fc693d55d65f: Pull complete 06:18:12 7e9fc2657dce: Pull complete 06:18:12 dda99020689f: Pull complete 06:18:19 db1c61fa0a46: Pull complete 06:18:20 891c053d2c06: Pull complete 06:18:20 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:18:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:18:20 ---> f96f9c87975a 06:18:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:18:22 ---> Running in 3d3ef253f6cf 06:18:22 Removing intermediate container 3d3ef253f6cf 06:18:22 ---> dcda70193886 06:18:22 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:18:23 ---> Running in 6260863d3aaa 06:18:23 Removing intermediate container 6260863d3aaa 06:18:23 ---> 345b1121820a 06:18:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:18:23 ---> Running in a995e7436180 06:18:23 Removing intermediate container a995e7436180 06:18:23 ---> 445c1d5e3b33 06:18:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:18:23 ---> Running in c24f716266e8 06:18:24 Removing intermediate container c24f716266e8 06:18:24 ---> 6a8e6d2fda67 06:18:24 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:24 ---> Running in 4f0bc88ebaa6 06:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:18:26 (1/14) Installing libintl (0.21-r2) 06:18:26 (2/14) Installing eudev-libs (3.2.11-r0) 06:18:26 (3/14) Installing libjpeg-turbo (2.1.3-r1) 06:18:26 (4/14) Installing v4l-utils-libs (1.22.1-r1) 06:18:26 (5/14) Installing v4l-utils (1.22.1-r1) 06:18:26 (6/14) Installing udev-init-scripts (35-r0) 06:18:26 Executing udev-init-scripts-35-r0.post-install 06:18:26 (7/14) Installing libblkid (2.38-r1) 06:18:26 (8/14) Installing xz-libs (5.2.5-r1) 06:18:26 (9/14) Installing zstd-libs (1.5.2-r1) 06:18:26 (10/14) Installing kmod-libs (29-r2) 06:18:26 (11/14) Installing eudev (3.2.11-r0) 06:18:26 (12/14) Installing eudev-dev (3.2.11-r0) 06:18:26 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:18:26 (14/14) Installing v4l-utils-dev (1.22.1-r1) 06:18:26 Executing busybox-1.35.0-r17.trigger 06:18:26 Executing eudev-3.2.11-r0.trigger 06:18:26 OK: 228 MiB in 65 packages 06:18:27 Removing intermediate container 4f0bc88ebaa6 06:18:27 ---> ff013d957ad9 06:18:27 Step 8/13 : WORKDIR /device-usb-camera 06:18:28 ---> Running in 6357f0e1b0b1 06:18:28 Removing intermediate container 6357f0e1b0b1 06:18:28 ---> 29bb9280a36d 06:18:28 Step 9/13 : COPY go.mod vendor* ./ 06:18:28 ---> 41c1b0437d32 06:18:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:29 ---> Running in ffa0d0fa277b 06:19:36 Removing intermediate container ffa0d0fa277b 06:19:36 ---> ba5a66f02235 06:19:36 Step 11/13 : COPY . . 06:19:36 ---> 045a9b6f8df8 06:19:36 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:19:36 ---> Running in c02ce427d1f7 06:19:36   % Total % Received % Xferd Average Speed Time Time Time Current 06:19:36  Dload Upload Total Spent Left Speed 06:19:36 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13455 0 --:--:-- --:--:-- --:--:-- 13615 06:19:36 Removing intermediate container c02ce427d1f7 06:19:36 ---> c104910103e4 06:19:36 Step 13/13 : RUN ${MAKE} 06:19:36 ---> Running in a6fc0e7c41af 06:19:36 noop 06:19:36 Removing intermediate container a6fc0e7c41af 06:19:36 ---> 87faf6d2f602 06:19:36 Successfully built 87faf6d2f602 06:19:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:37 + docker inspect -f . ci-base-image-arm64 06:19:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:37 prd-ubuntu20.04-docker-arm64-4c-16g-9742 does not seem to be running inside a container 06:19:37 $ 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 ******** -e ******** ci-base-image-arm64 cat 06:19:38 $ docker top 58f49e5b202fecfcbfcb56470b9736a5b5e80f32e4d98f4c959ded44135cd62d -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:39 + go version 06:19:39 go version go1.18.7 linux/arm64 [Pipeline] } 06:19:39 $ docker stop --time=1 58f49e5b202fecfcbfcb56470b9736a5b5e80f32e4d98f4c959ded44135cd62d 06:19:41 $ docker rm -f --volumes 58f49e5b202fecfcbfcb56470b9736a5b5e80f32e4d98f4c959ded44135cd62d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:41 + docker inspect -f . ci-base-image-arm64 06:19:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:42 prd-ubuntu20.04-docker-arm64-4c-16g-9742 does not seem to be running inside a container 06:19:42 $ 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 ******** -e ******** ci-base-image-arm64 cat 06:19:43 $ docker top afaa34c5f91146c8bb3032d406164be7bae7354909c90f32970df563f592556f -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:43 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 06:19:44 + make test 06:19:44 go test ./... -coverprofile=coverage.out ./... 06:19:46 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:21:23 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:21:23 internal/driver/driver.go:37:25: undefined: service.DeviceService 06:21:23 internal/driver/driver.go:77:17: undefined: service.RunningService 06:21:23 internal/driver/driver.go:86:36: undefined: service.DriverConfigs 06:21:23 internal/driver/driver.go:94:26: undefined: service.DriverConfigs 06:21:23 internal/driver/driver.go:306:35: cannot use path (variable of type any) as type string in argument to getUSBDeviceIdInfo: 06:21:23 need type assertion 06:21:23 internal/driver/driver.go:433:9: cannot use value (variable of type any) as type string in return statement: 06:21:23 need type assertion 06:21:23 internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len 06:21:23 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:21:23 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 06:21:23 $ docker stop --time=1 afaa34c5f91146c8bb3032d406164be7bae7354909c90f32970df563f592556f 06:21:25 $ docker rm -f --volumes afaa34c5f91146c8bb3032d406164be7bae7354909c90f32970df563f592556f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:26 06:21:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:26 arm64: Pulling from edgex-lftools-log-publisher 06:21:26 8998bd30e6a1: Pulling fs layer 06:21:26 04944245beec: Pulling fs layer 06:21:26 699f458cf7ca: Pulling fs layer 06:21:26 765212b225bb: Pulling fs layer 06:21:26 f23df028b6ca: Pulling fs layer 06:21:26 d65c8cfc05b1: Pulling fs layer 06:21:26 2437ff75d9bd: Pulling fs layer 06:21:26 f23df028b6ca: Waiting 06:21:26 d65c8cfc05b1: Waiting 06:21:26 2437ff75d9bd: Waiting 06:21:26 765212b225bb: Waiting 06:21:26 04944245beec: Verifying Checksum 06:21:26 04944245beec: Download complete 06:21:26 765212b225bb: Download complete 06:21:26 f23df028b6ca: Verifying Checksum 06:21:26 f23df028b6ca: Download complete 06:21:26 d65c8cfc05b1: Verifying Checksum 06:21:26 d65c8cfc05b1: Download complete 06:21:26 699f458cf7ca: Verifying Checksum 06:21:26 699f458cf7ca: Download complete 06:21:27 8998bd30e6a1: Verifying Checksum 06:21:27 8998bd30e6a1: Download complete 06:21:30 2437ff75d9bd: Verifying Checksum 06:21:30 2437ff75d9bd: Download complete 06:21:31 8998bd30e6a1: Pull complete 06:21:32 04944245beec: Pull complete 06:21:33 699f458cf7ca: Pull complete 06:21:33 765212b225bb: Pull complete 06:21:34 f23df028b6ca: Pull complete 06:21:34 d65c8cfc05b1: Pull complete 06:21:52 2437ff75d9bd: Pull complete 06:21:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:53 prd-ubuntu20.04-docker-arm64-4c-16g-9742 does not seem to be running inside a container 06:21:53 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:21:55 $ docker top 3a947f3d7ac4a01441bc383ca688b8fbc7847615957700087e401b03fc289b1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:56 ---> job-cost.sh 06:21:56 lf-activate-venv: SKIPPING 06:21:56 INFO: No Stack... 06:21:56 INFO: Retrieving Pricing Info for: v3-standard-4 06:21:57 INFO: Archiving Costs [Pipeline] sh 06:21:58 + + cut -d, -f6 06:21:58 cat /w/workspace/device-usb-camera/2/archives/cost.csv [Pipeline] lock 06:21:58 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-177-2-stack-cost] 06:21:58 Resource [jenkins-edgexfoundry-device-usb-camera-PR-177-2-stack-cost] did not exist. Created. 06:21:58 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-177-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:21:59 /w/workspace/device-usb-camera/2@tmp/durable-753f7e3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:22:00 + echo total: 0.10999999940395355 [Pipeline] stash 06:22:00 Warning: overwriting stash ‘stack-cost’ 06:22:01 Stashed 1 file(s) [Pipeline] } 06:22:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-177-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:22:01 $ docker stop --time=1 3a947f3d7ac4a01441bc383ca688b8fbc7847615957700087e401b03fc289b1a 06:22:02 $ docker rm -f --volumes 3a947f3d7ac4a01441bc383ca688b8fbc7847615957700087e401b03fc289b1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:22:02 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:22:03 + [ -d /w/workspace/foundry_device-usb-camera_PR-177/archives ] 06:22:03 + ls -al /w/workspace/foundry_device-usb-camera_PR-177/archives 06:22:03 total 16 06:22:03 drwxr-xr-x 3 root root 4096 Mar 11 06:16 . 06:22:03 drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 06:16 .. 06:22:03 drwxr-xr-x 2 root root 4096 Mar 11 06:16 cost 06:22:03 -rw-r--r-- 1 root root 89 Mar 11 06:16 cost.csv 06:22:03 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-177/archives 06:22:03 + ls -al /w/workspace/foundry_device-usb-camera_PR-177/archives 06:22:03 total 16 06:22:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 06:16 . 06:22:03 drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 06:16 .. 06:22:03 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 06:16 cost 06:22:03 -rw-r--r-- 1 jenkins jenkins 89 Mar 11 06:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:22:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:22:04 ---> package-listing.sh 06:22:04 ++ facter osfamily 06:22:04 ++ tr '[:upper:]' '[:lower:]' 06:22:05 + OS_FAMILY=debian 06:22:05 + workspace=/w/workspace/foundry_device-usb-camera_PR-177 06:22:05 + START_PACKAGES=/tmp/packages_start.txt 06:22:05 + END_PACKAGES=/tmp/packages_end.txt 06:22:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:22:05 + PACKAGES=/tmp/packages_start.txt 06:22:05 + '[' /w/workspace/foundry_device-usb-camera_PR-177 ']' 06:22:05 + PACKAGES=/tmp/packages_end.txt 06:22:05 + case "${OS_FAMILY}" in 06:22:05 + dpkg -l 06:22:05 + grep '^ii' 06:22:05 + '[' -f /tmp/packages_start.txt ']' 06:22:05 + '[' -f /tmp/packages_end.txt ']' 06:22:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:22:05 + '[' /w/workspace/foundry_device-usb-camera_PR-177 ']' 06:22:05 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-177/archives/ 06:22:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-177/archives/ [Pipeline] echo 06:22:05 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:22:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:22:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:05 prd-ubuntu20.04-docker-8c-8g-9739 does not seem to be running inside a container 06:22:06 $ 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-177/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-177 -v /w/workspace/foundry_device-usb-camera_PR-177:/w/workspace/foundry_device-usb-camera_PR-177:rw,z -v /w/workspace/foundry_device-usb-camera_PR-177@tmp:/w/workspace/foundry_device-usb-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:22:06 $ docker top 476ad043924d407a056caf15daa774b2c676ab685a6b83ce08fca7279f57480b -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:06 + touch /tmp/pre-build-complete [Pipeline] sh 06:22:06 + mkdir -p /var/log/sysstat [Pipeline] sh 06:22:07 + ls /var/log/sa-host 06:22:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:07 provisioning config files... 06:22:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-177@tmp/config2298683518595642434tmp [Pipeline] { [Pipeline] echo 06:22:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:22:07 ---> create-netrc.sh [Pipeline] } 06:22:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:22:07 ---> python-tools-install.sh [Pipeline] echo 06:22:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:22:08 ---> sudo-logs.sh 06:22:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:22:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:22:08 ---> job-cost.sh 06:22:08 lf-activate-venv: SKIPPING 06:22:08 DEBUG: total: 0.2199999988079071 06:22:08 INFO: Retrieving Stack Cost... 06:22:09 INFO: Retrieving Pricing Info for: v3-standard-8 06:22:09 INFO: Archiving Costs [Pipeline] echo 06:22:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:22:09 ---> logs-deploy.sh 06:22:09 lf-activate-venv: SKIPPING 06:22:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-177/2 06:22:09 INFO: archiving workspace using pattern(s): 06:22:10 Archives upload complete. 06:22:10 INFO: archiving logs to Nexus