Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 055775b67b00fdff561bff16165999855f3c52fe+f433dd4a7f716b42d434c791f0c601cda98ab1b1 (ae2ec6692882862ded87cad65d3d0344e04b5a85) 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-ssh3088764805772446116.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6788468177706309329.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-216/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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17067053436911684946.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh7972368903475959571.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-216/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-216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12570243413421009397.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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-8874’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8877 in /w/workspace/foundry_device-usb-camera_PR-216 [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-216 # 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 f433dd4a7f716b42d434c791f0c601cda98ab1b1 into PR head commit 055775b67b00fdff561bff16165999855f3c52fe > 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/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing e37d58b66a6689c7d7576efc62ed9a580040167f Checking out Revision e37d58b66a6689c7d7576efc62ed9a580040167f (PR-216) > git checkout -f 055775b67b00fdff561bff16165999855f3c52fe # 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 f433dd4a7f716b42d434c791f0c601cda98ab1b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e37d58b66a6689c7d7576efc62ed9a580040167f # timeout=10 Commit message: "Merge commit 'f433dd4a7f716b42d434c791f0c601cda98ab1b1' into HEAD" > git rev-list --no-walk 055775b67b00fdff561bff16165999855f3c52fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T06:15:37.300Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T06:15:37.353Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T06:15:37.369Z] ========================================================= [2023-04-18T06:15:37.369Z] EdgeX Global Pipelines Version Info [2023-04-18T06:15:37.369Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:15:38.069Z] ------------------- [2023-04-18T06:15:38.069Z] stable info: [2023-04-18T06:15:38.069Z] ------------------- [2023-04-18T06:15:38.069Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T06:15:38.069Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T06:15:38.069Z] Message: update stable to v1.0.248 [2023-04-18T06:15:38.640Z] ------------------- [2023-04-18T06:15:38.640Z] experimental info: [2023-04-18T06:15:38.640Z] ------------------- [2023-04-18T06:15:38.640Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T06:15:38.640Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T06:15:38.640Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T06:15:38.820Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-04-18T06:15:38.829Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-04-18T06:15:38.844Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T06:15:38.854Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T06:15:38.868Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T06:15:38.879Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T06:15:38.897Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T06:15:38.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T06:15:38.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T06:15:38.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T06:15:38.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T06:15:38.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-04-18T06:15:38.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T06:15:38.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T06:15:38.980Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T06:15:38.988Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T06:15:38.997Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T06:15:39.015Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T06:15:39.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T06:15:39.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T06:15:39.049Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T06:15:39.067Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T06:15:39.079Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T06:15:39.090Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T06:15:39.104Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T06:15:39.116Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T06:15:39.130Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T06:15:39.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2023-04-18T06:15:39.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2023-04-18T06:15:39.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2023-04-18T06:15:39.190Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e37d58b66a6689c7d7576efc62ed9a580040167f [Pipeline] echo [2023-04-18T06:15:39.205Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e37d58b [Pipeline] echo [2023-04-18T06:15:39.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T06:15:39.265Z] provisioning config files... [2023-04-18T06:15:39.284Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-216@tmp/config4200161498058820748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:15:39.580Z] ---> docker-login.sh [2023-04-18T06:15:39.580Z] nexus3.edgexfoundry.org:10001 [2023-04-18T06:15:39.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:39.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:39.841Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:39.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:39.841Z] [2023-04-18T06:15:39.841Z] Login Succeeded [2023-04-18T06:15:39.841Z] nexus3.edgexfoundry.org:10002 [2023-04-18T06:15:40.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:40.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:40.102Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:40.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:40.102Z] [2023-04-18T06:15:40.102Z] Login Succeeded [2023-04-18T06:15:40.102Z] nexus3.edgexfoundry.org:10003 [2023-04-18T06:15:40.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:40.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:40.102Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:40.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:40.102Z] [2023-04-18T06:15:40.102Z] Login Succeeded [2023-04-18T06:15:40.102Z] nexus3.edgexfoundry.org:10004 [2023-04-18T06:15:40.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:40.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:40.362Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:40.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:40.362Z] [2023-04-18T06:15:40.362Z] Login Succeeded [2023-04-18T06:15:40.362Z] docker.io [2023-04-18T06:15:40.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:40.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:40.623Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:40.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:40.623Z] [2023-04-18T06:15:40.623Z] Login Succeeded [2023-04-18T06:15:40.623Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T06:15:40.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T06:15:41.002Z] + git rev-list -1 --merges e37d58b66a6689c7d7576efc62ed9a580040167f~1..e37d58b66a6689c7d7576efc62ed9a580040167f [Pipeline] echo [2023-04-18T06:15:41.048Z] -----------> git rev-list -1 --merges e37d58b66a6689c7d7576efc62ed9a580040167f~1..e37d58b66a6689c7d7576efc62ed9a580040167f e37d58b66a6689c7d7576efc62ed9a580040167f [2023-04-18T06:15:41.048Z] e37d58b66a6689c7d7576efc62ed9a580040167f [false] [Pipeline] sh [2023-04-18T06:15:41.335Z] + git log --format=format:%s -1 e37d58b66a6689c7d7576efc62ed9a580040167f [Pipeline] echo [2023-04-18T06:15:41.350Z] ========================================================= [2023-04-18T06:15:41.350Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T06:15:41.350Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T06:15:41.670Z] + git log --format=format:%s -1 e37d58b66a6689c7d7576efc62ed9a580040167f [Pipeline] echo [2023-04-18T06:15:41.681Z] [semverPrep] GIT_COMMIT: e37d58b66a6689c7d7576efc62ed9a580040167f, Commit Message: Merge commit 'f433dd4a7f716b42d434c791f0c601cda98ab1b1' into HEAD [Pipeline] echo [2023-04-18T06:15:41.692Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T06:15:42.058Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T06:15:42.058Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T06:15:42.058Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T06:15:42.058Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T06:15:42.058Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T06:15:42.058Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T06:15:42.058Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:15:42.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T06:15:42.473Z] [2023-04-18T06:15:42.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:15:42.781Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T06:15:42.781Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T06:15:42.781Z] b85a868b505f: Pulling fs layer [2023-04-18T06:15:42.781Z] e2be974225ed: Pulling fs layer [2023-04-18T06:15:42.781Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T06:15:42.781Z] 988bab9f4d93: Pulling fs layer [2023-04-18T06:15:42.781Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T06:15:42.781Z] eaf3925da568: Pulling fs layer [2023-04-18T06:15:42.781Z] bab4dde63d76: Pulling fs layer [2023-04-18T06:15:42.781Z] bde34c3a00c8: Pulling fs layer [2023-04-18T06:15:42.781Z] b352a97aabf1: Pulling fs layer [2023-04-18T06:15:42.781Z] 4872d77fe225: Pulling fs layer [2023-04-18T06:15:42.781Z] 5851b861e8e6: Pulling fs layer [2023-04-18T06:15:42.781Z] 988bab9f4d93: Waiting [2023-04-18T06:15:42.781Z] 4872d77fe225: Waiting [2023-04-18T06:15:42.781Z] 1469e6f7b9e6: Waiting [2023-04-18T06:15:42.781Z] bab4dde63d76: Waiting [2023-04-18T06:15:42.781Z] eaf3925da568: Waiting [2023-04-18T06:15:42.781Z] bde34c3a00c8: Waiting [2023-04-18T06:15:42.781Z] b352a97aabf1: Waiting [2023-04-18T06:15:42.781Z] 5851b861e8e6: Waiting [2023-04-18T06:15:42.781Z] e2be974225ed: Verifying Checksum [2023-04-18T06:15:42.781Z] e2be974225ed: Download complete [2023-04-18T06:15:42.781Z] 988bab9f4d93: Verifying Checksum [2023-04-18T06:15:42.781Z] 988bab9f4d93: Download complete [2023-04-18T06:15:42.781Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T06:15:42.781Z] 1469e6f7b9e6: Download complete [2023-04-18T06:15:43.044Z] eaf3925da568: Verifying Checksum [2023-04-18T06:15:43.044Z] eaf3925da568: Download complete [2023-04-18T06:15:43.044Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T06:15:43.044Z] 339a4e72a1f5: Download complete [2023-04-18T06:15:43.044Z] bde34c3a00c8: Download complete [2023-04-18T06:15:43.044Z] b352a97aabf1: Verifying Checksum [2023-04-18T06:15:43.044Z] b352a97aabf1: Download complete [2023-04-18T06:15:43.044Z] 4872d77fe225: Verifying Checksum [2023-04-18T06:15:43.044Z] 4872d77fe225: Download complete [2023-04-18T06:15:43.044Z] 5851b861e8e6: Verifying Checksum [2023-04-18T06:15:43.044Z] 5851b861e8e6: Download complete [2023-04-18T06:15:43.044Z] b85a868b505f: Verifying Checksum [2023-04-18T06:15:43.044Z] b85a868b505f: Download complete [2023-04-18T06:15:43.303Z] bab4dde63d76: Verifying Checksum [2023-04-18T06:15:43.303Z] bab4dde63d76: Download complete [2023-04-18T06:15:44.239Z] b85a868b505f: Pull complete [2023-04-18T06:15:44.499Z] e2be974225ed: Pull complete [2023-04-18T06:15:45.080Z] 339a4e72a1f5: Pull complete [2023-04-18T06:15:45.080Z] 988bab9f4d93: Pull complete [2023-04-18T06:15:45.341Z] 1469e6f7b9e6: Pull complete [2023-04-18T06:15:45.341Z] eaf3925da568: Pull complete [2023-04-18T06:15:47.251Z] bab4dde63d76: Pull complete [2023-04-18T06:15:47.251Z] bde34c3a00c8: Pull complete [2023-04-18T06:15:47.511Z] b352a97aabf1: Pull complete [2023-04-18T06:15:47.511Z] 4872d77fe225: Pull complete [2023-04-18T06:15:47.511Z] 5851b861e8e6: Pull complete [2023-04-18T06:15:47.770Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T06:15:47.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T06:15:47.770Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T06:15:47.865Z] prd-ubuntu20.04-docker-8c-8g-8877 does not seem to be running inside a container [2023-04-18T06:15:47.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-216 -v /w/workspace/foundry_device-usb-camera_PR-216:/w/workspace/foundry_device-usb-camera_PR-216:rw,z -v /w/workspace/foundry_device-usb-camera_PR-216@tmp:/w/workspace/foundry_device-usb-camera_PR-216@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T06:15:50.261Z] $ docker top f0c1f54ad58293ca09171670f452c5d7046c86713d8280b55b6482365197685d -eo pid,comm [2023-04-18T06:15:50.312Z] 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). [2023-04-18T06:15:50.312Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T06:15:50.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T06:15:50.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T06:15:50.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T06:15:50.461Z] $ docker exec f0c1f54ad58293ca09171670f452c5d7046c86713d8280b55b6482365197685d ssh-agent [2023-04-18T06:15:50.572Z] SSH_AUTH_SOCK=/tmp/ssh-WknJeOYO0sf9/agent.33 [2023-04-18T06:15:50.572Z] SSH_AGENT_PID=40 [2023-04-18T06:15:50.579Z] Running ssh-add (command line suppressed) [2023-04-18T06:15:50.674Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-216@tmp/private_key_8713945905027806431.key (/w/workspace/foundry_device-usb-camera_PR-216@tmp/private_key_8713945905027806431.key) [2023-04-18T06:15:50.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T06:15:50.980Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T06:15:50.997Z] $ docker exec --env ******** --env ******** f0c1f54ad58293ca09171670f452c5d7046c86713d8280b55b6482365197685d ssh-agent -k [2023-04-18T06:15:51.101Z] unset SSH_AUTH_SOCK; [2023-04-18T06:15:51.101Z] unset SSH_AGENT_PID; [2023-04-18T06:15:51.102Z] echo Agent pid 40 killed; [2023-04-18T06:15:51.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T06:15:51.137Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T06:15:51.137Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T06:15:51.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T06:15:51.252Z] $ docker exec f0c1f54ad58293ca09171670f452c5d7046c86713d8280b55b6482365197685d ssh-agent [2023-04-18T06:15:51.353Z] SSH_AUTH_SOCK=/tmp/ssh-5vAGtyLRbQ8O/agent.72 [2023-04-18T06:15:51.353Z] SSH_AGENT_PID=78 [2023-04-18T06:15:51.357Z] Running ssh-add (command line suppressed) [2023-04-18T06:15:51.459Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-216@tmp/private_key_3870779579015511361.key (/w/workspace/foundry_device-usb-camera_PR-216@tmp/private_key_3870779579015511361.key) [2023-04-18T06:15:51.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T06:15:51.761Z] + git semver init [2023-04-18T06:15:52.021Z] 2023-04-18 06:15:51,935 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T06:15:52.021Z] 2023-04-18 06:15:51,936 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-216/.semver [2023-04-18T06:15:52.021Z] 2023-04-18 06:15:51,937 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-216/.semver [2023-04-18T06:15:52.021Z] 2023-04-18 06:15:51,937 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-216/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-216, universal_newlines=False, shell=None, istream=None) [2023-04-18T06:15:52.591Z] 2023-04-18 06:15:52,588 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-216/.git/info/exclude [2023-04-18T06:15:52.591Z] 2023-04-18 06:15:52,589 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-216/.semver/PR-216 with force:False [2023-04-18T06:15:52.591Z] 2023-04-18 06:15:52,589 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-216/.semver/PR-216 [2023-04-18T06:15:52.851Z] 2023-04-18 06:15:52,593 [execute] INFO git cat-file --batch-check [2023-04-18T06:15:52.851Z] 2023-04-18 06:15:52,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-216/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T06:15:52.851Z] 2023-04-18 06:15:52,600 [execute] INFO git cat-file --batch [2023-04-18T06:15:52.851Z] 2023-04-18 06:15:52,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-216/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T06:15:52.851Z] 2023-04-18 06:15:52,605 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-216/.semver/PR-216 [2023-04-18T06:15:52.851Z] 0.0.0 [Pipeline] } [2023-04-18T06:15:52.862Z] $ docker exec --env ******** --env ******** f0c1f54ad58293ca09171670f452c5d7046c86713d8280b55b6482365197685d ssh-agent -k [2023-04-18T06:15:52.964Z] unset SSH_AUTH_SOCK; [2023-04-18T06:15:52.966Z] unset SSH_AGENT_PID; [2023-04-18T06:15:52.966Z] echo Agent pid 78 killed; [2023-04-18T06:15:52.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T06:15:53.277Z] + git semver [Pipeline] } [2023-04-18T06:15:53.547Z] $ docker stop --time=1 f0c1f54ad58293ca09171670f452c5d7046c86713d8280b55b6482365197685d [2023-04-18T06:15:54.851Z] $ docker rm -f --volumes f0c1f54ad58293ca09171670f452c5d7046c86713d8280b55b6482365197685d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T06:15:55.183Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T06:15:55.404Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T06:15:55.407Z] [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 [2023-04-18T06:15:55.535Z] provisioning config files... [2023-04-18T06:15:55.543Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-216@tmp/config14022133220893117220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:15:55.837Z] ---> docker-login.sh [2023-04-18T06:15:55.838Z] nexus3.edgexfoundry.org:10001 [2023-04-18T06:15:55.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:55.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:55.838Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:55.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:55.838Z] [2023-04-18T06:15:55.838Z] Login Succeeded [2023-04-18T06:15:55.838Z] nexus3.edgexfoundry.org:10002 [2023-04-18T06:15:55.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:55.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:55.838Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:55.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:55.838Z] [2023-04-18T06:15:55.838Z] Login Succeeded [2023-04-18T06:15:55.838Z] nexus3.edgexfoundry.org:10003 [2023-04-18T06:15:56.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:56.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:56.107Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:56.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:56.107Z] [2023-04-18T06:15:56.107Z] Login Succeeded [2023-04-18T06:15:56.107Z] nexus3.edgexfoundry.org:10004 [2023-04-18T06:15:56.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:56.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:56.107Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:56.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:56.107Z] [2023-04-18T06:15:56.107Z] Login Succeeded [2023-04-18T06:15:56.107Z] docker.io [2023-04-18T06:15:56.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:15:56.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:15:56.627Z] Configure a credential helper to remove this warning. See [2023-04-18T06:15:56.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:15:56.627Z] [2023-04-18T06:15:56.627Z] Login Succeeded [2023-04-18T06:15:56.627Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T06:15:56.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T06:15:56.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T06:15:56.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T06:15:56.712Z] ========================================================= [2023-04-18T06:15:56.712Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T06:15:56.712Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:15:57.022Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T06:15:57.022Z] Sending build context to Docker daemon 1.907MB [2023-04-18T06:15:57.022Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T06:15:57.022Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-18T06:15:57.022Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T06:15:57.022Z] 63b65145d645: Pulling fs layer [2023-04-18T06:15:57.022Z] a2d21d5440eb: Pulling fs layer [2023-04-18T06:15:57.022Z] 935e6c44a52c: Pulling fs layer [2023-04-18T06:15:57.022Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T06:15:57.022Z] 30dea6a524f1: Pulling fs layer [2023-04-18T06:15:57.022Z] a2aff8979fd8: Pulling fs layer [2023-04-18T06:15:57.022Z] 6808be2612f2: Pulling fs layer [2023-04-18T06:15:57.022Z] f25807f1079a: Pulling fs layer [2023-04-18T06:15:57.022Z] 30dea6a524f1: Waiting [2023-04-18T06:15:57.022Z] a2aff8979fd8: Waiting [2023-04-18T06:15:57.022Z] 6808be2612f2: Waiting [2023-04-18T06:15:57.022Z] f25807f1079a: Waiting [2023-04-18T06:15:57.022Z] 94cc34f8dd06: Waiting [2023-04-18T06:15:57.022Z] a2d21d5440eb: Verifying Checksum [2023-04-18T06:15:57.022Z] a2d21d5440eb: Download complete [2023-04-18T06:15:57.022Z] 94cc34f8dd06: Download complete [2023-04-18T06:15:57.022Z] 30dea6a524f1: Verifying Checksum [2023-04-18T06:15:57.022Z] 30dea6a524f1: Download complete [2023-04-18T06:15:57.287Z] 63b65145d645: Download complete [2023-04-18T06:15:57.287Z] a2aff8979fd8: Verifying Checksum [2023-04-18T06:15:57.287Z] a2aff8979fd8: Download complete [2023-04-18T06:15:57.287Z] 63b65145d645: Pull complete [2023-04-18T06:15:57.548Z] a2d21d5440eb: Pull complete [2023-04-18T06:15:57.548Z] f25807f1079a: Verifying Checksum [2023-04-18T06:15:57.548Z] f25807f1079a: Download complete [2023-04-18T06:15:57.807Z] 935e6c44a52c: Verifying Checksum [2023-04-18T06:15:57.807Z] 935e6c44a52c: Download complete [2023-04-18T06:15:58.067Z] 6808be2612f2: Verifying Checksum [2023-04-18T06:15:58.067Z] 6808be2612f2: Download complete [2023-04-18T06:16:01.356Z] 935e6c44a52c: Pull complete [2023-04-18T06:16:01.356Z] 94cc34f8dd06: Pull complete [2023-04-18T06:16:01.356Z] 30dea6a524f1: Pull complete [2023-04-18T06:16:01.356Z] a2aff8979fd8: Pull complete [2023-04-18T06:16:03.257Z] 6808be2612f2: Pull complete [2023-04-18T06:16:03.823Z] f25807f1079a: Pull complete [2023-04-18T06:16:03.824Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T06:16:03.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T06:16:03.824Z] ---> 3b553350e43f [2023-04-18T06:16:03.824Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-18T06:16:08.020Z] ---> Running in ed1296538a57 [2023-04-18T06:16:08.020Z] Removing intermediate container ed1296538a57 [2023-04-18T06:16:08.020Z] ---> 0d6ab0f8d760 [2023-04-18T06:16:08.020Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T06:16:08.020Z] ---> Running in e24a049cff53 [2023-04-18T06:16:08.020Z] Removing intermediate container e24a049cff53 [2023-04-18T06:16:08.020Z] ---> d16fa204a331 [2023-04-18T06:16:08.020Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-18T06:16:08.020Z] ---> Running in ebb9bf2bac92 [2023-04-18T06:16:08.020Z] Removing intermediate container ebb9bf2bac92 [2023-04-18T06:16:08.020Z] ---> 30305788c621 [2023-04-18T06:16:08.020Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-18T06:16:08.020Z] ---> Running in a0283729dab2 [2023-04-18T06:16:08.020Z] Removing intermediate container a0283729dab2 [2023-04-18T06:16:08.020Z] ---> ae1e6231966c [2023-04-18T06:16:08.020Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T06:16:08.020Z] ---> Running in b8930b7e826a [2023-04-18T06:16:08.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T06:16:08.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T06:16:08.795Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-18T06:16:08.795Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-18T06:16:08.795Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-18T06:16:08.795Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-18T06:16:08.795Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-18T06:16:08.795Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-18T06:16:08.795Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-18T06:16:08.795Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-18T06:16:08.795Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-18T06:16:08.795Z] (10/14) Installing kmod-libs (30-r1) [2023-04-18T06:16:08.795Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-18T06:16:08.795Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-18T06:16:08.795Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-18T06:16:08.795Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-18T06:16:08.795Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T06:16:08.795Z] Executing eudev-3.2.11-r4.trigger [2023-04-18T06:16:08.795Z] OK: 272 MiB in 67 packages [2023-04-18T06:16:09.362Z] Removing intermediate container b8930b7e826a [2023-04-18T06:16:09.362Z] ---> 0f7d174420fc [2023-04-18T06:16:09.362Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-18T06:16:09.362Z] ---> Running in 2a1e2df84adb [2023-04-18T06:16:09.362Z] Removing intermediate container 2a1e2df84adb [2023-04-18T06:16:09.362Z] ---> 33a0c4e716b6 [2023-04-18T06:16:09.362Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-18T06:16:09.621Z] ---> 4bb168ccac03 [2023-04-18T06:16:09.621Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T06:16:09.621Z] ---> Running in 324c167a4a20 [2023-04-18T06:16:10.507Z] Still waiting to schedule task [2023-04-18T06:16:10.507Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T06:16:41.753Z] Removing intermediate container 324c167a4a20 [2023-04-18T06:16:41.753Z] ---> 5b2a4d315eda [2023-04-18T06:16:41.753Z] Step 11/13 : COPY . . [2023-04-18T06:16:41.753Z] ---> ac5d49bb6b9e [2023-04-18T06:16:41.753Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-18T06:16:41.753Z] ---> Running in da775ab6dd0b [2023-04-18T06:16:41.753Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T06:16:41.753Z] Dload Upload Total Spent Left Speed [2023-04-18T06:16:41.754Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7728 0 --:--:-- --:--:-- --:--:-- 7751 [2023-04-18T06:16:41.754Z] Removing intermediate container da775ab6dd0b [2023-04-18T06:16:41.754Z] ---> 313570e141b3 [2023-04-18T06:16:41.754Z] Step 13/13 : RUN ${MAKE} [2023-04-18T06:16:41.754Z] ---> Running in 41646902f09a [2023-04-18T06:16:41.754Z] noop [2023-04-18T06:16:41.754Z] Removing intermediate container 41646902f09a [2023-04-18T06:16:41.754Z] ---> 7ac209271a69 [2023-04-18T06:16:41.754Z] Successfully built 7ac209271a69 [2023-04-18T06:16:41.754Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:16:42.099Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T06:16:42.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T06:16:42.169Z] prd-ubuntu20.04-docker-8c-8g-8877 does not seem to be running inside a container [2023-04-18T06:16:42.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-216 -v /w/workspace/foundry_device-usb-camera_PR-216:/w/workspace/foundry_device-usb-camera_PR-216:rw,z -v /w/workspace/foundry_device-usb-camera_PR-216@tmp:/w/workspace/foundry_device-usb-camera_PR-216@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-x86_64 cat [2023-04-18T06:16:42.534Z] $ docker top 69452436ef9e8478a425fc354a6eb7bcb3e9d59b66a089099fc3a4dcc3dccad0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T06:16:42.868Z] + go version [2023-04-18T06:16:42.868Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T06:16:42.877Z] $ docker stop --time=1 69452436ef9e8478a425fc354a6eb7bcb3e9d59b66a089099fc3a4dcc3dccad0 [2023-04-18T06:16:45.364Z] $ docker rm -f --volumes 69452436ef9e8478a425fc354a6eb7bcb3e9d59b66a089099fc3a4dcc3dccad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:16:45.760Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T06:16:45.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T06:16:45.828Z] prd-ubuntu20.04-docker-8c-8g-8877 does not seem to be running inside a container [2023-04-18T06:16:45.858Z] $ 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-216 -v /w/workspace/foundry_device-usb-camera_PR-216:/w/workspace/foundry_device-usb-camera_PR-216:rw,z -v /w/workspace/foundry_device-usb-camera_PR-216@tmp:/w/workspace/foundry_device-usb-camera_PR-216@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-x86_64 cat [2023-04-18T06:16:46.198Z] $ docker top 4689c912fbab510a28b3904b8bf261ff78ce906c20cc73378583d172f719714b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T06:16:46.537Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-216 [Pipeline] fileExists [Pipeline] sh [2023-04-18T06:16:46.829Z] + make test [2023-04-18T06:16:46.829Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T06:16:52.104Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-18T06:17:02.072Z] # github.com/edgexfoundry/device-usb-camera/cmd [2023-04-18T06:17:02.072Z] cmd/main.go:21:58: cannot use d (variable of type *"github.com/edgexfoundry/device-usb-camera/internal/driver".Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in argument to startup.Bootstrap: *"github.com/edgexfoundry/device-usb-camera/internal/driver".Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (wrong type for method Discover) [2023-04-18T06:17:02.072Z] have Discover() [2023-04-18T06:17:02.072Z] want Discover() error [2023-04-18T06:17:02.072Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 2.0% of statements [2023-04-18T06:17:02.072Z] FAIL [2023-04-18T06:17:02.072Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-04-18T06:17:02.084Z] $ docker stop --time=1 4689c912fbab510a28b3904b8bf261ff78ce906c20cc73378583d172f719714b [2023-04-18T06:17:04.929Z] $ docker rm -f --volumes 4689c912fbab510a28b3904b8bf261ff78ce906c20cc73378583d172f719714b [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 [2023-04-18T06:17:05.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T06:17:05.461Z] [2023-04-18T06:17:05.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:17:05.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T06:17:05.758Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T06:17:05.758Z] 5eb5b503b376: Pulling fs layer [2023-04-18T06:17:05.758Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T06:17:05.758Z] ec43610c2a17: Pulling fs layer [2023-04-18T06:17:05.758Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T06:17:05.758Z] 33b1e0a273af: Pulling fs layer [2023-04-18T06:17:05.758Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T06:17:05.758Z] 2f39f015ded8: Pulling fs layer [2023-04-18T06:17:05.758Z] 3a2ae6a8a46f: Waiting [2023-04-18T06:17:05.758Z] 33b1e0a273af: Waiting [2023-04-18T06:17:05.758Z] 5d3b04190fa2: Waiting [2023-04-18T06:17:05.758Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T06:17:05.758Z] 5c69ac0246d0: Download complete [2023-04-18T06:17:05.758Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T06:17:05.758Z] 3a2ae6a8a46f: Download complete [2023-04-18T06:17:06.015Z] 33b1e0a273af: Verifying Checksum [2023-04-18T06:17:06.015Z] 33b1e0a273af: Download complete [2023-04-18T06:17:06.015Z] ec43610c2a17: Verifying Checksum [2023-04-18T06:17:06.015Z] ec43610c2a17: Download complete [2023-04-18T06:17:06.015Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T06:17:06.015Z] 5d3b04190fa2: Download complete [2023-04-18T06:17:06.015Z] 5eb5b503b376: Download complete [2023-04-18T06:17:06.580Z] 2f39f015ded8: Verifying Checksum [2023-04-18T06:17:06.580Z] 2f39f015ded8: Download complete [2023-04-18T06:17:07.145Z] 5eb5b503b376: Pull complete [2023-04-18T06:17:07.402Z] 5c69ac0246d0: Pull complete [2023-04-18T06:17:07.661Z] ec43610c2a17: Pull complete [2023-04-18T06:17:07.918Z] 3a2ae6a8a46f: Pull complete [2023-04-18T06:17:07.918Z] 33b1e0a273af: Pull complete [2023-04-18T06:17:08.176Z] 5d3b04190fa2: Pull complete [2023-04-18T06:17:12.364Z] 2f39f015ded8: Pull complete [2023-04-18T06:17:12.364Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T06:17:12.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T06:17:12.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T06:17:12.447Z] prd-ubuntu20.04-docker-8c-8g-8877 does not seem to be running inside a container [2023-04-18T06:17:12.485Z] $ 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-216 -v /w/workspace/foundry_device-usb-camera_PR-216:/w/workspace/foundry_device-usb-camera_PR-216:rw,z -v /w/workspace/foundry_device-usb-camera_PR-216@tmp:/w/workspace/foundry_device-usb-camera_PR-216@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 [2023-04-18T06:17:15.528Z] $ docker top 402f99281cd788a21c54afeabd08c417ceb0e9b1227370d3a82399d72a9c5813 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:17:15.915Z] ---> job-cost.sh [2023-04-18T06:17:15.915Z] lf-activate-venv: SKIPPING [2023-04-18T06:17:15.915Z] INFO: No Stack... [2023-04-18T06:17:16.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T06:17:16.432Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T06:17:16.721Z] + cat /w/workspace/foundry_device-usb-camera_PR-216/archives/cost.csv [2023-04-18T06:17:16.721Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T06:17:16.735Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-216-2-stack-cost] [2023-04-18T06:17:16.743Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-216-2-stack-cost] did not exist. Created. [2023-04-18T06:17:16.743Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-216-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T06:17:17.039Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T06:17:17.083Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T06:17:17.091Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-216-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T06:17:17.184Z] $ docker stop --time=1 402f99281cd788a21c54afeabd08c417ceb0e9b1227370d3a82399d72a9c5813 [2023-04-18T06:17:18.339Z] $ docker rm -f --volumes 402f99281cd788a21c54afeabd08c417ceb0e9b1227370d3a82399d72a9c5813 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T06:17:18.428Z] Failed in branch amd64 [2023-04-18T06:17:48.694Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8878 in /w/workspace/foundry_device-usb-camera_PR-216 [Pipeline] { [Pipeline] ws [2023-04-18T06:17:48.703Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-04-18T06:17:48.734Z] Selected Git installation does not exist. Using Default [2023-04-18T06:17:48.734Z] The recommended git tool is: NONE [2023-04-18T06:17:53.989Z] using credential edgex-jenkins-ssh [2023-04-18T06:17:54.008Z] Cloning the remote Git repository [2023-04-18T06:17:54.045Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-04-18T06:17:54.133Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-04-18T06:17:54.274Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-18T06:17:54.275Z] > git --version # timeout=10 [2023-04-18T06:17:54.295Z] > git --version # 'git version 2.25.1' [2023-04-18T06:17:54.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T06:17:54.439Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T06:17:55.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-18T06:17:55.213Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T06:17:56.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-18T06:17:56.104Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-18T06:17:56.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T06:17:56.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T06:17:56.676Z] Merging remotes/origin/main commit f433dd4a7f716b42d434c791f0c601cda98ab1b1 into PR head commit 055775b67b00fdff561bff16165999855f3c52fe [2023-04-18T06:17:56.996Z] Merge succeeded, producing 9f0807ec6832fdafe967ce24c50c1ef769ccd5c9 [2023-04-18T06:17:56.997Z] Checking out Revision 9f0807ec6832fdafe967ce24c50c1ef769ccd5c9 (PR-216) [2023-04-18T06:17:56.697Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T06:17:56.767Z] > git checkout -f 055775b67b00fdff561bff16165999855f3c52fe # timeout=10 [2023-04-18T06:17:56.858Z] > git remote # timeout=10 [2023-04-18T06:17:56.877Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T06:17:56.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T06:17:56.910Z] > git merge f433dd4a7f716b42d434c791f0c601cda98ab1b1 # timeout=10 [2023-04-18T06:17:56.975Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T06:17:57.000Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T06:17:57.017Z] > git checkout -f 9f0807ec6832fdafe967ce24c50c1ef769ccd5c9 # timeout=10 [2023-04-18T06:18:00.459Z] Commit message: "Merge commit 'f433dd4a7f716b42d434c791f0c601cda98ab1b1' into HEAD" [2023-04-18T06:18:00.465Z] > git rev-list --no-walk 055775b67b00fdff561bff16165999855f3c52fe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T06:18:01.431Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T06:18:01.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T06:18:01.431Z] Dload Upload Total Spent Left Speed [2023-04-18T06:18:01.431Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 49614 0 --:--:-- --:--:-- --:--:-- 49614 [Pipeline] sh [2023-04-18T06:18:02.338Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T06:18:02.658Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T06:18:02.658Z] + sudo tee /etc/docker/daemon.new [2023-04-18T06:18:02.658Z] { [2023-04-18T06:18:02.658Z] "registry-mirrors": [ [2023-04-18T06:18:02.658Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T06:18:02.658Z] ], [2023-04-18T06:18:02.658Z] "bip": "10.250.0.254/24", [2023-04-18T06:18:02.658Z] "hosts": [ [2023-04-18T06:18:02.658Z] "tcp://0.0.0.0:5555", [2023-04-18T06:18:02.658Z] "unix:///var/run/docker.sock" [2023-04-18T06:18:02.658Z] ], [2023-04-18T06:18:02.658Z] "mtu": 1458, [2023-04-18T06:18:02.658Z] "selinux-enabled": true, [2023-04-18T06:18:02.658Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T06:18:02.658Z] } [Pipeline] sh [2023-04-18T06:18:02.975Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T06:18:03.293Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T06:18:21.526Z] provisioning config files... [2023-04-18T06:18:21.547Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config4382580755079877877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:18:21.886Z] ---> docker-login.sh [2023-04-18T06:18:21.887Z] nexus3.edgexfoundry.org:10001 [2023-04-18T06:18:22.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:18:22.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:18:22.422Z] Configure a credential helper to remove this warning. See [2023-04-18T06:18:22.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:18:22.422Z] [2023-04-18T06:18:22.422Z] Login Succeeded [2023-04-18T06:18:22.422Z] nexus3.edgexfoundry.org:10002 [2023-04-18T06:18:22.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:18:22.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:18:22.691Z] Configure a credential helper to remove this warning. See [2023-04-18T06:18:22.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:18:22.691Z] [2023-04-18T06:18:22.691Z] Login Succeeded [2023-04-18T06:18:22.691Z] nexus3.edgexfoundry.org:10003 [2023-04-18T06:18:22.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:18:23.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:18:23.224Z] Configure a credential helper to remove this warning. See [2023-04-18T06:18:23.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:18:23.224Z] [2023-04-18T06:18:23.224Z] Login Succeeded [2023-04-18T06:18:23.224Z] nexus3.edgexfoundry.org:10004 [2023-04-18T06:18:23.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:18:23.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:18:23.493Z] Configure a credential helper to remove this warning. See [2023-04-18T06:18:23.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:18:23.493Z] [2023-04-18T06:18:23.493Z] Login Succeeded [2023-04-18T06:18:23.493Z] docker.io [2023-04-18T06:18:23.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T06:18:23.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T06:18:23.764Z] Configure a credential helper to remove this warning. See [2023-04-18T06:18:23.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T06:18:23.764Z] [2023-04-18T06:18:23.764Z] Login Succeeded [2023-04-18T06:18:23.764Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T06:18:23.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T06:18:24.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T06:18:24.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T06:18:24.040Z] ========================================================= [2023-04-18T06:18:24.040Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T06:18:24.040Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:18:24.371Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T06:18:24.638Z] Sending build context to Docker daemon 1.227MB [2023-04-18T06:18:24.638Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T06:18:24.638Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-18T06:18:24.905Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T06:18:24.905Z] af6eaf76a39c: Pulling fs layer [2023-04-18T06:18:24.905Z] 55522c791124: Pulling fs layer [2023-04-18T06:18:24.905Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T06:18:24.905Z] 169dfbe0d373: Pulling fs layer [2023-04-18T06:18:24.905Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T06:18:24.905Z] 169dfbe0d373: Waiting [2023-04-18T06:18:24.905Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T06:18:24.905Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T06:18:24.905Z] 5abe8eddf0d5: Waiting [2023-04-18T06:18:24.905Z] 52ebb69f0ebf: Waiting [2023-04-18T06:18:24.905Z] 55522c791124: Verifying Checksum [2023-04-18T06:18:24.905Z] 55522c791124: Download complete [2023-04-18T06:18:24.905Z] 169dfbe0d373: Verifying Checksum [2023-04-18T06:18:24.905Z] 169dfbe0d373: Download complete [2023-04-18T06:18:24.905Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T06:18:24.905Z] e1ff8fa3b103: Download complete [2023-04-18T06:18:24.905Z] af6eaf76a39c: Verifying Checksum [2023-04-18T06:18:24.905Z] af6eaf76a39c: Download complete [2023-04-18T06:18:25.885Z] af6eaf76a39c: Pull complete [2023-04-18T06:18:25.885Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T06:18:25.885Z] 5abe8eddf0d5: Download complete [2023-04-18T06:18:26.489Z] 55522c791124: Pull complete [2023-04-18T06:18:27.465Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T06:18:27.465Z] ce5c4a1c91eb: Download complete [2023-04-18T06:18:27.465Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T06:18:27.465Z] 52ebb69f0ebf: Download complete [2023-04-18T06:18:37.556Z] ce5c4a1c91eb: Pull complete [2023-04-18T06:18:37.556Z] 169dfbe0d373: Pull complete [2023-04-18T06:18:37.556Z] e1ff8fa3b103: Pull complete [2023-04-18T06:18:42.897Z] 52ebb69f0ebf: Pull complete [2023-04-18T06:18:45.487Z] 5abe8eddf0d5: Pull complete [2023-04-18T06:18:45.487Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T06:18:45.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T06:18:45.487Z] ---> 6cb57ee374ae [2023-04-18T06:18:45.487Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-18T06:18:46.935Z] ---> Running in b9fbcf5317a7 [2023-04-18T06:18:47.202Z] Removing intermediate container b9fbcf5317a7 [2023-04-18T06:18:47.202Z] ---> 945dec48efff [2023-04-18T06:18:47.202Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T06:18:47.202Z] ---> Running in 5e994588ff9b [2023-04-18T06:18:47.467Z] Removing intermediate container 5e994588ff9b [2023-04-18T06:18:47.467Z] ---> 5a03caf89b6c [2023-04-18T06:18:47.467Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-18T06:18:47.467Z] ---> Running in b70c1ebd3373 [2023-04-18T06:18:47.734Z] Removing intermediate container b70c1ebd3373 [2023-04-18T06:18:47.734Z] ---> ce969c793e3b [2023-04-18T06:18:47.734Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-18T06:18:48.002Z] ---> Running in 2f71ac6b1d98 [2023-04-18T06:18:48.269Z] Removing intermediate container 2f71ac6b1d98 [2023-04-18T06:18:48.269Z] ---> 767d442755df [2023-04-18T06:18:48.269Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T06:18:48.269Z] ---> Running in fe57c989f6d8 [2023-04-18T06:18:49.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T06:18:49.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T06:18:50.779Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-18T06:18:50.779Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-18T06:18:50.779Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-18T06:18:50.779Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-18T06:18:50.779Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-18T06:18:50.779Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-18T06:18:50.779Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-18T06:18:50.779Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-18T06:18:51.053Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-18T06:18:51.053Z] (10/14) Installing kmod-libs (30-r1) [2023-04-18T06:18:51.053Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-18T06:18:51.053Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-18T06:18:51.053Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-18T06:18:51.053Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-18T06:18:51.053Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T06:18:51.053Z] Executing eudev-3.2.11-r4.trigger [2023-04-18T06:18:51.053Z] OK: 271 MiB in 67 packages [2023-04-18T06:18:52.485Z] Removing intermediate container fe57c989f6d8 [2023-04-18T06:18:52.485Z] ---> 2a914b0489c6 [2023-04-18T06:18:52.485Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-18T06:18:52.485Z] ---> Running in 06290d3dcd5c [2023-04-18T06:18:52.753Z] Removing intermediate container 06290d3dcd5c [2023-04-18T06:18:52.753Z] ---> 00faff80acd9 [2023-04-18T06:18:52.753Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-18T06:18:53.338Z] ---> 1ca0612603a9 [2023-04-18T06:18:53.338Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T06:18:53.338Z] ---> Running in 7b2c924a506a [2023-04-18T06:19:49.744Z] Removing intermediate container 7b2c924a506a [2023-04-18T06:19:49.744Z] ---> c9c07acfd154 [2023-04-18T06:19:49.744Z] Step 11/13 : COPY . . [2023-04-18T06:19:50.709Z] ---> ac5438647be5 [2023-04-18T06:19:50.709Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-18T06:19:50.709Z] ---> Running in 82530e570446 [2023-04-18T06:19:51.665Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T06:19:51.665Z] Dload Upload Total Spent Left Speed [2023-04-18T06:19:51.665Z] 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4303 0 --:--:-- --:--:-- --:--:-- 4317 [2023-04-18T06:19:52.247Z] Removing intermediate container 82530e570446 [2023-04-18T06:19:52.247Z] ---> bffcd7dae5b4 [2023-04-18T06:19:52.247Z] Step 13/13 : RUN ${MAKE} [2023-04-18T06:19:52.514Z] ---> Running in 485bbf2b02c8 [2023-04-18T06:19:53.470Z] noop [2023-04-18T06:19:54.051Z] Removing intermediate container 485bbf2b02c8 [2023-04-18T06:19:54.051Z] ---> 5eb83d0ef538 [2023-04-18T06:19:54.051Z] Successfully built 5eb83d0ef538 [2023-04-18T06:19:54.051Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:19:54.400Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T06:19:54.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T06:19:54.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-8878 does not seem to be running inside a container [2023-04-18T06:19:54.647Z] $ 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 [2023-04-18T06:19:55.690Z] $ docker top 9f8fdad7ce2dd1341e551c2a015f166ea8f8c7d8437c8558379cc0c697e2b120 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T06:19:56.491Z] + go version [2023-04-18T06:19:56.491Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T06:19:56.512Z] $ docker stop --time=1 9f8fdad7ce2dd1341e551c2a015f166ea8f8c7d8437c8558379cc0c697e2b120 [2023-04-18T06:19:58.095Z] $ docker rm -f --volumes 9f8fdad7ce2dd1341e551c2a015f166ea8f8c7d8437c8558379cc0c697e2b120 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:19:58.616Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T06:19:58.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T06:19:58.772Z] prd-ubuntu20.04-docker-arm64-4c-16g-8878 does not seem to be running inside a container [2023-04-18T06:19:58.827Z] $ 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 [2023-04-18T06:19:59.924Z] $ docker top d2ff9c7ba89902960fdf785c8170b4790cbbc51e11cb91677e9cd5a11756c123 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T06:20:00.414Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-04-18T06:20:00.735Z] + make test [2023-04-18T06:20:00.735Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T06:20:32.948Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-18T06:22:24.583Z] # github.com/edgexfoundry/device-usb-camera/cmd [2023-04-18T06:22:24.583Z] cmd/main.go:21:58: cannot use d (variable of type *"github.com/edgexfoundry/device-usb-camera/internal/driver".Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in argument to startup.Bootstrap: *"github.com/edgexfoundry/device-usb-camera/internal/driver".Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (wrong type for method Discover) [2023-04-18T06:22:24.583Z] have Discover() [2023-04-18T06:22:24.583Z] want Discover() error [2023-04-18T06:22:24.583Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.058s coverage: 2.0% of statements [2023-04-18T06:22:24.583Z] FAIL [2023-04-18T06:22:25.552Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-04-18T06:22:25.575Z] $ docker stop --time=1 d2ff9c7ba89902960fdf785c8170b4790cbbc51e11cb91677e9cd5a11756c123 [2023-04-18T06:22:31.138Z] $ docker rm -f --volumes d2ff9c7ba89902960fdf785c8170b4790cbbc51e11cb91677e9cd5a11756c123 [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 [2023-04-18T06:22:32.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T06:22:32.432Z] [2023-04-18T06:22:32.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:22:32.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T06:22:32.771Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T06:22:32.771Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T06:22:32.771Z] 04944245beec: Pulling fs layer [2023-04-18T06:22:32.771Z] 699f458cf7ca: Pulling fs layer [2023-04-18T06:22:32.771Z] 765212b225bb: Pulling fs layer [2023-04-18T06:22:32.771Z] f23df028b6ca: Pulling fs layer [2023-04-18T06:22:32.771Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T06:22:32.771Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T06:22:32.771Z] f23df028b6ca: Waiting [2023-04-18T06:22:32.771Z] d65c8cfc05b1: Waiting [2023-04-18T06:22:32.771Z] 2437ff75d9bd: Waiting [2023-04-18T06:22:32.771Z] 765212b225bb: Waiting [2023-04-18T06:22:33.040Z] 04944245beec: Verifying Checksum [2023-04-18T06:22:33.040Z] 04944245beec: Download complete [2023-04-18T06:22:33.040Z] 765212b225bb: Download complete [2023-04-18T06:22:33.309Z] f23df028b6ca: Verifying Checksum [2023-04-18T06:22:33.309Z] f23df028b6ca: Download complete [2023-04-18T06:22:33.309Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T06:22:33.309Z] d65c8cfc05b1: Download complete [2023-04-18T06:22:33.309Z] 699f458cf7ca: Verifying Checksum [2023-04-18T06:22:33.309Z] 699f458cf7ca: Download complete [2023-04-18T06:22:33.893Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T06:22:33.893Z] 8998bd30e6a1: Download complete [2023-04-18T06:22:36.482Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T06:22:36.482Z] 2437ff75d9bd: Download complete [2023-04-18T06:22:40.030Z] 8998bd30e6a1: Pull complete [2023-04-18T06:22:40.030Z] 04944245beec: Pull complete [2023-04-18T06:22:44.351Z] 699f458cf7ca: Pull complete [2023-04-18T06:22:44.351Z] 765212b225bb: Pull complete [2023-04-18T06:22:44.622Z] f23df028b6ca: Pull complete [2023-04-18T06:22:44.891Z] d65c8cfc05b1: Pull complete [2023-04-18T06:23:03.122Z] 2437ff75d9bd: Pull complete [2023-04-18T06:23:03.122Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T06:23:03.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T06:23:03.122Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T06:23:03.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-8878 does not seem to be running inside a container [2023-04-18T06:23:03.380Z] $ 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 [2023-04-18T06:23:05.162Z] $ docker top d507f5783e7b14e32ad9ee7fb697b4ba32d1cb14f23901f4fff912a7cf37c942 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:23:06.020Z] ---> job-cost.sh [2023-04-18T06:23:06.020Z] lf-activate-venv: SKIPPING [2023-04-18T06:23:06.020Z] INFO: No Stack... [2023-04-18T06:23:06.285Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T06:23:07.239Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T06:23:07.878Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-04-18T06:23:07.878Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T06:23:07.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-216-2-stack-cost] [2023-04-18T06:23:07.949Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-216-2-stack-cost] did not exist. Created. [2023-04-18T06:23:07.949Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-216-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T06:23:08.310Z] /w/workspace/device-usb-camera/2@tmp/durable-975dc504/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T06:23:08.956Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T06:23:08.971Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T06:23:09.659Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T06:23:09.666Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-216-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T06:23:09.684Z] $ docker stop --time=1 d507f5783e7b14e32ad9ee7fb697b4ba32d1cb14f23901f4fff912a7cf37c942 [2023-04-18T06:23:11.381Z] $ docker rm -f --volumes d507f5783e7b14e32ad9ee7fb697b4ba32d1cb14f23901f4fff912a7cf37c942 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T06:23:11.666Z] 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 [2023-04-18T06:23:12.356Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-216/archives ] [2023-04-18T06:23:12.356Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-216/archives [2023-04-18T06:23:12.356Z] total 16 [2023-04-18T06:23:12.356Z] drwxr-xr-x 3 root root 4096 Apr 18 06:17 . [2023-04-18T06:23:12.356Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 06:17 .. [2023-04-18T06:23:12.356Z] drwxr-xr-x 2 root root 4096 Apr 18 06:17 cost [2023-04-18T06:23:12.356Z] -rw-r--r-- 1 root root 89 Apr 18 06:17 cost.csv [2023-04-18T06:23:12.356Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-216/archives [2023-04-18T06:23:12.356Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-216/archives [2023-04-18T06:23:12.356Z] total 16 [2023-04-18T06:23:12.356Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 06:17 . [2023-04-18T06:23:12.356Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 06:17 .. [2023-04-18T06:23:12.356Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 06:17 cost [2023-04-18T06:23:12.356Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 18 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:23:12.644Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:23:13.505Z] ---> package-listing.sh [2023-04-18T06:23:13.505Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T06:23:13.505Z] ++ facter osfamily [2023-04-18T06:23:13.763Z] + OS_FAMILY=debian [2023-04-18T06:23:13.763Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-216 [2023-04-18T06:23:13.763Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T06:23:13.763Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T06:23:13.763Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T06:23:13.763Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T06:23:13.763Z] + '[' /w/workspace/foundry_device-usb-camera_PR-216 ']' [2023-04-18T06:23:13.763Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T06:23:13.763Z] + case "${OS_FAMILY}" in [2023-04-18T06:23:13.763Z] + dpkg -l [2023-04-18T06:23:13.763Z] + grep '^ii' [2023-04-18T06:23:13.763Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T06:23:13.763Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T06:23:13.763Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T06:23:13.763Z] + '[' /w/workspace/foundry_device-usb-camera_PR-216 ']' [2023-04-18T06:23:13.763Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-216/archives/ [2023-04-18T06:23:13.763Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-216/archives/ [Pipeline] echo [2023-04-18T06:23:13.774Z] 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-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T06:23:14.048Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T06:23:14.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T06:23:14.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T06:23:14.685Z] prd-ubuntu20.04-docker-8c-8g-8877 does not seem to be running inside a container [2023-04-18T06:23:14.714Z] $ 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-216/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-216 -v /w/workspace/foundry_device-usb-camera_PR-216:/w/workspace/foundry_device-usb-camera_PR-216:rw,z -v /w/workspace/foundry_device-usb-camera_PR-216@tmp:/w/workspace/foundry_device-usb-camera_PR-216@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T06:23:14.900Z] $ docker top d031f7021b4219cf69fcbb8eb5fb2a294783082ea703501d6e75cab9ed7e40c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T06:23:15.253Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T06:23:15.536Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T06:23:15.823Z] + ls /var/log/sa-host [2023-04-18T06:23:15.823Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T06:23:15.987Z] provisioning config files... [2023-04-18T06:23:15.995Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-216@tmp/config18025255683408348363tmp [Pipeline] { [Pipeline] echo [2023-04-18T06:23:16.010Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:23:16.289Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T06:23:16.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:23:16.626Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T06:23:16.634Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:23:16.917Z] ---> sudo-logs.sh [2023-04-18T06:23:16.917Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T06:23:16.936Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:23:17.215Z] ---> job-cost.sh [2023-04-18T06:23:17.215Z] lf-activate-venv: SKIPPING [2023-04-18T06:23:17.215Z] DEBUG: total: 0.2199999988079071 [2023-04-18T06:23:17.215Z] INFO: Retrieving Stack Cost... [2023-04-18T06:23:17.473Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T06:23:17.732Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T06:23:17.743Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T06:23:18.024Z] ---> logs-deploy.sh [2023-04-18T06:23:18.024Z] lf-activate-venv: SKIPPING [2023-04-18T06:23:18.024Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-216/2 [2023-04-18T06:23:18.024Z] INFO: archiving workspace using pattern(s): [2023-04-18T06:23:18.964Z] Archives upload complete. [2023-04-18T06:23:18.964Z] INFO: archiving logs to Nexus