Pull request #216 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 055775b67b00fdff561bff16165999855f3c52fe+1f17400c5cc4baed943c7e7ed2484b3b5921cf6c (2c6907863ae5db9a9fe34518f9ac0c96519c6a19) 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-ssh3415657923155264738.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-ssh10233270581172149265.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh16224350019937860456.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh12736236792580351342.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15333251829088114792.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh456381506099343940.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8755 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 > 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 Merging remotes/origin/main commit 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c into PR head commit 055775b67b00fdff561bff16165999855f3c52fe Merge succeeded, producing 055775b67b00fdff561bff16165999855f3c52fe Checking out Revision 055775b67b00fdff561bff16165999855f3c52fe (PR-216) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T18:04:28.790Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T18:04:28.973Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > 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 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 055775b67b00fdff561bff16165999855f3c52fe # timeout=10 [Pipeline] echo [2023-04-17T18:04:29.076Z] ========================================================= [2023-04-17T18:04:29.076Z] EdgeX Global Pipelines Version Info [2023-04-17T18:04:29.076Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:04:30.183Z] ------------------- [2023-04-17T18:04:30.183Z] stable info: [2023-04-17T18:04:30.183Z] ------------------- [2023-04-17T18:04:30.183Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T18:04:30.183Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:04:30.183Z] Message: update stable to v1.0.248 [2023-04-17T18:04:30.752Z] ------------------- [2023-04-17T18:04:30.752Z] experimental info: [2023-04-17T18:04:30.752Z] ------------------- [2023-04-17T18:04:30.752Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T18:04:30.752Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:04:30.752Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T18:04:31.059Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-04-17T18:04:31.097Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-04-17T18:04:31.139Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T18:04:31.175Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T18:04:31.212Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T18:04:31.249Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T18:04:31.290Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T18:04:31.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T18:04:31.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T18:04:31.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T18:04:31.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T18:04:31.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-04-17T18:04:31.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T18:04:31.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T18:04:31.610Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:04:31.654Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:04:31.698Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:04:31.741Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:04:31.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T18:04:31.824Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T18:04:31.863Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T18:04:31.902Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T18:04:31.953Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T18:04:32.002Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T18:04:32.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T18:04:32.100Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T18:04:32.142Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T18:04:32.186Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2023-04-17T18:04:32.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2023-04-17T18:04:32.274Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2023-04-17T18:04:32.315Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 055775b67b00fdff561bff16165999855f3c52fe [Pipeline] echo [2023-04-17T18:04:32.357Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 055775b [Pipeline] echo [2023-04-17T18:04:32.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:04:32.519Z] provisioning config files... [2023-04-17T18:04:32.533Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-216@tmp/config13112260336296225466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:04:32.877Z] ---> docker-login.sh [2023-04-17T18:04:32.877Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:04:33.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:33.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:33.136Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:33.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:33.136Z] [2023-04-17T18:04:33.136Z] Login Succeeded [2023-04-17T18:04:33.136Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:04:33.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:33.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:33.136Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:33.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:33.136Z] [2023-04-17T18:04:33.136Z] Login Succeeded [2023-04-17T18:04:33.136Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:04:33.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:33.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:33.401Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:33.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:33.401Z] [2023-04-17T18:04:33.401Z] Login Succeeded [2023-04-17T18:04:33.401Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:04:33.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:33.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:33.401Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:33.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:33.401Z] [2023-04-17T18:04:33.401Z] Login Succeeded [2023-04-17T18:04:33.401Z] docker.io [2023-04-17T18:04:33.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:33.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:33.661Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:33.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:33.661Z] [2023-04-17T18:04:33.661Z] Login Succeeded [2023-04-17T18:04:33.661Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:04:33.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T18:04:34.302Z] + git rev-list -1 --merges 055775b67b00fdff561bff16165999855f3c52fe~1..055775b67b00fdff561bff16165999855f3c52fe [Pipeline] echo [2023-04-17T18:04:34.364Z] -----------> git rev-list -1 --merges 055775b67b00fdff561bff16165999855f3c52fe~1..055775b67b00fdff561bff16165999855f3c52fe 055775b67b00fdff561bff16165999855f3c52fe [false] [Pipeline] sh [2023-04-17T18:04:34.677Z] + git log --format=format:%s -1 055775b67b00fdff561bff16165999855f3c52fe [Pipeline] echo [2023-04-17T18:04:34.716Z] ========================================================= [2023-04-17T18:04:34.716Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T18:04:34.716Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:04:35.154Z] + git log --format=format:%s -1 055775b67b00fdff561bff16165999855f3c52fe [Pipeline] echo [2023-04-17T18:04:35.189Z] [semverPrep] GIT_COMMIT: 055775b67b00fdff561bff16165999855f3c52fe, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-17T18:04:35.222Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T18:04:35.679Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T18:04:35.679Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T18:04:35.679Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T18:04:35.679Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T18:04:35.679Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T18:04:35.679Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T18:04:35.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:04:36.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:04:36.181Z] [2023-04-17T18:04:36.181Z] 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-17T18:04:36.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:04:36.559Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T18:04:36.559Z] b85a868b505f: Pulling fs layer [2023-04-17T18:04:36.559Z] e2be974225ed: Pulling fs layer [2023-04-17T18:04:36.559Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T18:04:36.559Z] 988bab9f4d93: Pulling fs layer [2023-04-17T18:04:36.559Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T18:04:36.559Z] eaf3925da568: Pulling fs layer [2023-04-17T18:04:36.559Z] bab4dde63d76: Pulling fs layer [2023-04-17T18:04:36.559Z] bde34c3a00c8: Pulling fs layer [2023-04-17T18:04:36.559Z] b352a97aabf1: Pulling fs layer [2023-04-17T18:04:36.559Z] 4872d77fe225: Pulling fs layer [2023-04-17T18:04:36.559Z] 5851b861e8e6: Pulling fs layer [2023-04-17T18:04:36.559Z] bde34c3a00c8: Waiting [2023-04-17T18:04:36.559Z] b352a97aabf1: Waiting [2023-04-17T18:04:36.559Z] 988bab9f4d93: Waiting [2023-04-17T18:04:36.559Z] 4872d77fe225: Waiting [2023-04-17T18:04:36.559Z] 1469e6f7b9e6: Waiting [2023-04-17T18:04:36.559Z] 5851b861e8e6: Waiting [2023-04-17T18:04:36.559Z] eaf3925da568: Waiting [2023-04-17T18:04:36.559Z] bab4dde63d76: Waiting [2023-04-17T18:04:36.559Z] e2be974225ed: Download complete [2023-04-17T18:04:36.559Z] 988bab9f4d93: Verifying Checksum [2023-04-17T18:04:36.559Z] 988bab9f4d93: Download complete [2023-04-17T18:04:36.559Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T18:04:36.559Z] 1469e6f7b9e6: Download complete [2023-04-17T18:04:36.559Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T18:04:36.559Z] 339a4e72a1f5: Download complete [2023-04-17T18:04:36.559Z] eaf3925da568: Download complete [2023-04-17T18:04:36.818Z] bde34c3a00c8: Verifying Checksum [2023-04-17T18:04:36.818Z] bde34c3a00c8: Download complete [2023-04-17T18:04:36.818Z] b352a97aabf1: Download complete [2023-04-17T18:04:36.818Z] 4872d77fe225: Download complete [2023-04-17T18:04:36.818Z] 5851b861e8e6: Download complete [2023-04-17T18:04:36.818Z] b85a868b505f: Verifying Checksum [2023-04-17T18:04:36.818Z] b85a868b505f: Download complete [2023-04-17T18:04:37.076Z] bab4dde63d76: Verifying Checksum [2023-04-17T18:04:37.076Z] bab4dde63d76: Download complete [2023-04-17T18:04:38.009Z] b85a868b505f: Pull complete [2023-04-17T18:04:38.009Z] e2be974225ed: Pull complete [2023-04-17T18:04:38.268Z] 339a4e72a1f5: Pull complete [2023-04-17T18:04:38.527Z] 988bab9f4d93: Pull complete [2023-04-17T18:04:38.786Z] 1469e6f7b9e6: Pull complete [2023-04-17T18:04:38.786Z] eaf3925da568: Pull complete [2023-04-17T18:04:40.693Z] bab4dde63d76: Pull complete [2023-04-17T18:04:40.693Z] bde34c3a00c8: Pull complete [2023-04-17T18:04:40.693Z] b352a97aabf1: Pull complete [2023-04-17T18:04:40.693Z] 4872d77fe225: Pull complete [2023-04-17T18:04:40.693Z] 5851b861e8e6: Pull complete [2023-04-17T18:04:40.693Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T18:04:40.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:04:40.693Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:04:40.936Z] prd-ubuntu20.04-docker-8c-8g-8755 does not seem to be running inside a container [2023-04-17T18:04:40.972Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T18:04:42.133Z] $ docker top 2a95250a2f931d26e8bf8236af34b766476253f414e4eb6918887261096f1166 -eo pid,comm [2023-04-17T18:04:42.182Z] 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-17T18:04:42.182Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T18:04:42.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:04:42.318Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:04:42.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:04:42.440Z] $ docker exec 2a95250a2f931d26e8bf8236af34b766476253f414e4eb6918887261096f1166 ssh-agent [2023-04-17T18:04:42.545Z] SSH_AUTH_SOCK=/tmp/ssh-DC6KCILvI9Ke/agent.32 [2023-04-17T18:04:42.545Z] SSH_AGENT_PID=38 [2023-04-17T18:04:42.553Z] Running ssh-add (command line suppressed) [2023-04-17T18:04:42.663Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-216@tmp/private_key_14746485744831984156.key (/w/workspace/foundry_device-usb-camera_PR-216@tmp/private_key_14746485744831984156.key) [2023-04-17T18:04:42.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:04:43.006Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T18:04:43.036Z] $ docker exec --env ******** --env ******** 2a95250a2f931d26e8bf8236af34b766476253f414e4eb6918887261096f1166 ssh-agent -k [2023-04-17T18:04:43.125Z] unset SSH_AUTH_SOCK; [2023-04-17T18:04:43.126Z] unset SSH_AGENT_PID; [2023-04-17T18:04:43.126Z] echo Agent pid 38 killed; [2023-04-17T18:04:43.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T18:04:43.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:04:43.224Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:04:43.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:04:43.338Z] $ docker exec 2a95250a2f931d26e8bf8236af34b766476253f414e4eb6918887261096f1166 ssh-agent [2023-04-17T18:04:43.454Z] SSH_AUTH_SOCK=/tmp/ssh-7GpxlQm9h6GV/agent.70 [2023-04-17T18:04:43.454Z] SSH_AGENT_PID=77 [2023-04-17T18:04:43.461Z] Running ssh-add (command line suppressed) [2023-04-17T18:04:43.576Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-216@tmp/private_key_4930442850224548675.key (/w/workspace/foundry_device-usb-camera_PR-216@tmp/private_key_4930442850224548675.key) [2023-04-17T18:04:43.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:04:43.919Z] + git semver init [2023-04-17T18:04:44.179Z] 2023-04-17 18:04:44,093 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T18:04:44.179Z] 2023-04-17 18:04:44,094 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-216/.semver [2023-04-17T18:04:44.179Z] 2023-04-17 18:04:44,094 [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-17T18:04:44.179Z] 2023-04-17 18:04:44,095 [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-17T18:04:45.116Z] 2023-04-17 18:04:44,853 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-216/.git/info/exclude [2023-04-17T18:04:45.116Z] 2023-04-17 18:04:44,853 [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-17T18:04:45.116Z] 2023-04-17 18:04:44,854 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-216/.semver/PR-216 [2023-04-17T18:04:45.116Z] 2023-04-17 18:04:44,857 [execute] INFO git cat-file --batch-check [2023-04-17T18:04:45.116Z] 2023-04-17 18:04:44,858 [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-17T18:04:45.116Z] 2023-04-17 18:04:44,864 [execute] INFO git cat-file --batch [2023-04-17T18:04:45.116Z] 2023-04-17 18:04:44,865 [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-17T18:04:45.116Z] 2023-04-17 18:04:44,869 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-216/.semver/PR-216 [2023-04-17T18:04:45.116Z] 0.0.0 [Pipeline] } [2023-04-17T18:04:45.145Z] $ docker exec --env ******** --env ******** 2a95250a2f931d26e8bf8236af34b766476253f414e4eb6918887261096f1166 ssh-agent -k [2023-04-17T18:04:45.239Z] unset SSH_AUTH_SOCK; [2023-04-17T18:04:45.239Z] unset SSH_AGENT_PID; [2023-04-17T18:04:45.239Z] echo Agent pid 77 killed; [2023-04-17T18:04:45.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T18:04:45.671Z] + git semver [Pipeline] } [2023-04-17T18:04:45.957Z] $ docker stop --time=1 2a95250a2f931d26e8bf8236af34b766476253f414e4eb6918887261096f1166 [2023-04-17T18:04:47.242Z] $ docker rm -f --volumes 2a95250a2f931d26e8bf8236af34b766476253f414e4eb6918887261096f1166 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:04:47.636Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T18:04:47.898Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T18:04:47.913Z] [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-17T18:04:48.617Z] provisioning config files... [2023-04-17T18:04:48.627Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-216@tmp/config6932766907688237249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:04:48.974Z] ---> docker-login.sh [2023-04-17T18:04:48.974Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:04:48.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:48.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:48.974Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:48.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:48.974Z] [2023-04-17T18:04:48.974Z] Login Succeeded [2023-04-17T18:04:48.974Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:04:48.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:48.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:48.974Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:48.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:48.974Z] [2023-04-17T18:04:48.974Z] Login Succeeded [2023-04-17T18:04:48.974Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:04:49.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:49.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:49.231Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:49.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:49.231Z] [2023-04-17T18:04:49.231Z] Login Succeeded [2023-04-17T18:04:49.231Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:04:49.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:49.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:49.231Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:49.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:49.231Z] [2023-04-17T18:04:49.231Z] Login Succeeded [2023-04-17T18:04:49.231Z] docker.io [2023-04-17T18:04:49.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:49.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:49.489Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:49.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:49.489Z] [2023-04-17T18:04:49.489Z] Login Succeeded [2023-04-17T18:04:49.489Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:04:49.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:04:49.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:04:49.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:04:49.778Z] ========================================================= [2023-04-17T18:04:49.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T18:04:49.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:04:50.240Z] + 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-17T18:04:50.240Z] Sending build context to Docker daemon 1.914MB [2023-04-17T18:04:50.240Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:04:50.240Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-17T18:04:50.240Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T18:04:50.240Z] 63b65145d645: Pulling fs layer [2023-04-17T18:04:50.240Z] a2d21d5440eb: Pulling fs layer [2023-04-17T18:04:50.240Z] 935e6c44a52c: Pulling fs layer [2023-04-17T18:04:50.240Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T18:04:50.240Z] 30dea6a524f1: Pulling fs layer [2023-04-17T18:04:50.240Z] a2aff8979fd8: Pulling fs layer [2023-04-17T18:04:50.240Z] 6808be2612f2: Pulling fs layer [2023-04-17T18:04:50.240Z] f25807f1079a: Pulling fs layer [2023-04-17T18:04:50.240Z] 94cc34f8dd06: Waiting [2023-04-17T18:04:50.240Z] 30dea6a524f1: Waiting [2023-04-17T18:04:50.240Z] a2aff8979fd8: Waiting [2023-04-17T18:04:50.240Z] 6808be2612f2: Waiting [2023-04-17T18:04:50.240Z] f25807f1079a: Waiting [2023-04-17T18:04:50.240Z] a2d21d5440eb: Verifying Checksum [2023-04-17T18:04:50.240Z] a2d21d5440eb: Download complete [2023-04-17T18:04:50.240Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T18:04:50.240Z] 94cc34f8dd06: Download complete [2023-04-17T18:04:50.240Z] 30dea6a524f1: Verifying Checksum [2023-04-17T18:04:50.240Z] 30dea6a524f1: Download complete [2023-04-17T18:04:50.240Z] 63b65145d645: Verifying Checksum [2023-04-17T18:04:50.240Z] 63b65145d645: Download complete [2023-04-17T18:04:50.500Z] a2aff8979fd8: Verifying Checksum [2023-04-17T18:04:50.500Z] a2aff8979fd8: Download complete [2023-04-17T18:04:50.500Z] 63b65145d645: Pull complete [2023-04-17T18:04:50.760Z] a2d21d5440eb: Pull complete [2023-04-17T18:04:50.760Z] f25807f1079a: Verifying Checksum [2023-04-17T18:04:50.760Z] f25807f1079a: Download complete [2023-04-17T18:04:51.018Z] 935e6c44a52c: Verifying Checksum [2023-04-17T18:04:51.018Z] 935e6c44a52c: Download complete [2023-04-17T18:04:51.018Z] 6808be2612f2: Verifying Checksum [2023-04-17T18:04:51.018Z] 6808be2612f2: Download complete [2023-04-17T18:04:54.302Z] 935e6c44a52c: Pull complete [2023-04-17T18:04:54.302Z] 94cc34f8dd06: Pull complete [2023-04-17T18:04:54.302Z] 30dea6a524f1: Pull complete [2023-04-17T18:04:54.302Z] a2aff8979fd8: Pull complete [2023-04-17T18:04:56.842Z] 6808be2612f2: Pull complete [2023-04-17T18:04:57.409Z] f25807f1079a: Pull complete [2023-04-17T18:04:57.409Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T18:04:57.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T18:04:57.409Z] ---> 3b553350e43f [2023-04-17T18:04:57.409Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:04:58.787Z] ---> Running in 90d67a9ab20e [2023-04-17T18:04:58.787Z] Removing intermediate container 90d67a9ab20e [2023-04-17T18:04:58.787Z] ---> ff09f6626b16 [2023-04-17T18:04:58.787Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:04:59.048Z] ---> Running in b5e6be8b918c [2023-04-17T18:04:59.048Z] Removing intermediate container b5e6be8b918c [2023-04-17T18:04:59.048Z] ---> 7cfd0d024d76 [2023-04-17T18:04:59.048Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-17T18:04:59.048Z] ---> Running in d72388af7b68 [2023-04-17T18:04:59.305Z] Removing intermediate container d72388af7b68 [2023-04-17T18:04:59.305Z] ---> 02d5dbb0f974 [2023-04-17T18:04:59.305Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-17T18:04:59.305Z] ---> Running in d13f33711018 [2023-04-17T18:04:59.305Z] Removing intermediate container d13f33711018 [2023-04-17T18:04:59.305Z] ---> dc8c37358b91 [2023-04-17T18:04:59.305Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:04:59.305Z] ---> Running in 20fd1354f53a [2023-04-17T18:04:59.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:04:59.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:04:59.823Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-17T18:04:59.823Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-17T18:04:59.823Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-17T18:04:59.823Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-17T18:04:59.823Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-17T18:04:59.823Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-17T18:04:59.823Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-17T18:05:00.082Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-17T18:05:00.082Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-17T18:05:00.082Z] (10/14) Installing kmod-libs (30-r1) [2023-04-17T18:05:00.082Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-17T18:05:00.082Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-17T18:05:00.082Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-17T18:05:00.082Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-17T18:05:00.082Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:05:00.082Z] Executing eudev-3.2.11-r4.trigger [2023-04-17T18:05:00.082Z] OK: 272 MiB in 67 packages [2023-04-17T18:05:00.652Z] Removing intermediate container 20fd1354f53a [2023-04-17T18:05:00.652Z] ---> bbb91fde482e [2023-04-17T18:05:00.652Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-17T18:05:00.652Z] ---> Running in 0a9375222312 [2023-04-17T18:05:00.652Z] Removing intermediate container 0a9375222312 [2023-04-17T18:05:00.652Z] ---> 8fae6c3c6971 [2023-04-17T18:05:00.652Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-17T18:05:00.652Z] ---> 32a0cbd9e56a [2023-04-17T18:05:00.652Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:05:00.652Z] ---> Running in 4cccb2558094 [2023-04-17T18:05:03.427Z] Still waiting to schedule task [2023-04-17T18:05:03.427Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-17T18:05:29.179Z] Removing intermediate container 4cccb2558094 [2023-04-17T18:05:29.179Z] ---> c438c7b5124b [2023-04-17T18:05:29.179Z] Step 11/13 : COPY . . [2023-04-17T18:05:29.179Z] ---> 3443ee6fd3f1 [2023-04-17T18:05:29.179Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-17T18:05:29.179Z] ---> Running in 44c61e459d93 [2023-04-17T18:05:29.437Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:05:29.437Z]  Dload Upload Total Spent  Left Speed [2023-04-17T18:05:29.696Z]  0 0 0  0 0 0  0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 3199 0 --:--:-- --:--:-- --:--:-- 3208 [2023-04-17T18:05:29.955Z] Removing intermediate container 44c61e459d93 [2023-04-17T18:05:29.955Z] ---> cebb92c3e1c7 [2023-04-17T18:05:29.955Z] Step 13/13 : RUN ${MAKE} [2023-04-17T18:05:29.955Z] ---> Running in 52459d3e0069 [2023-04-17T18:05:30.213Z] noop [2023-04-17T18:05:30.472Z] Removing intermediate container 52459d3e0069 [2023-04-17T18:05:30.472Z] ---> a96a3d5223a5 [2023-04-17T18:05:30.472Z] Successfully built a96a3d5223a5 [2023-04-17T18:05:30.472Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:05:30.937Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:05:30.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:05:31.097Z] prd-ubuntu20.04-docker-8c-8g-8755 does not seem to be running inside a container [2023-04-17T18:05:31.134Z] $ 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 ******** ci-base-image-x86_64 cat [2023-04-17T18:05:31.488Z] $ docker top 4e2432927719c3f4bdbc01c5a214e58cab8b8e5b08714c5b90102fba75bef735 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:05:31.869Z] + go version [2023-04-17T18:05:31.869Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T18:05:31.903Z] $ docker stop --time=1 4e2432927719c3f4bdbc01c5a214e58cab8b8e5b08714c5b90102fba75bef735 [2023-04-17T18:05:33.179Z] $ docker rm -f --volumes 4e2432927719c3f4bdbc01c5a214e58cab8b8e5b08714c5b90102fba75bef735 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:05:33.871Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:05:33.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:05:34.022Z] prd-ubuntu20.04-docker-8c-8g-8755 does not seem to be running inside a container [2023-04-17T18:05:34.056Z] $ 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 ******** ci-base-image-x86_64 cat [2023-04-17T18:05:34.372Z] $ docker top 50448c35f6349642e2086653f9f9e687c88915e4c1f548454b8b9fc5932fc9e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:05:34.761Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-216 [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:05:35.125Z] + make test [2023-04-17T18:05:35.125Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:05:40.391Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-17T18:05:48.494Z] # github.com/edgexfoundry/device-usb-camera/cmd [2023-04-17T18:05:48.494Z] 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-17T18:05:48.494Z] have Discover() [2023-04-17T18:05:48.494Z] want Discover() error [2023-04-17T18:05:49.059Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.008s coverage: 2.0% of statements [2023-04-17T18:05:49.059Z] FAIL [2023-04-17T18:05:49.059Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-04-17T18:05:49.107Z] $ docker stop --time=1 50448c35f6349642e2086653f9f9e687c88915e4c1f548454b8b9fc5932fc9e1 [2023-04-17T18:05:50.955Z] $ docker rm -f --volumes 50448c35f6349642e2086653f9f9e687c88915e4c1f548454b8b9fc5932fc9e1 [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-17T18:05:52.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:05:52.121Z] [2023-04-17T18:05:52.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:05:52.500Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:05:52.500Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T18:05:52.500Z] 5eb5b503b376: Pulling fs layer [2023-04-17T18:05:52.500Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T18:05:52.500Z] ec43610c2a17: Pulling fs layer [2023-04-17T18:05:52.500Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T18:05:52.500Z] 33b1e0a273af: Pulling fs layer [2023-04-17T18:05:52.500Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T18:05:52.500Z] 2f39f015ded8: Pulling fs layer [2023-04-17T18:05:52.500Z] 33b1e0a273af: Waiting [2023-04-17T18:05:52.500Z] 5d3b04190fa2: Waiting [2023-04-17T18:05:52.500Z] 2f39f015ded8: Waiting [2023-04-17T18:05:52.500Z] 5c69ac0246d0: Download complete [2023-04-17T18:05:52.500Z] 3a2ae6a8a46f: Download complete [2023-04-17T18:05:52.500Z] 33b1e0a273af: Verifying Checksum [2023-04-17T18:05:52.500Z] 33b1e0a273af: Download complete [2023-04-17T18:05:52.500Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T18:05:52.500Z] 5d3b04190fa2: Download complete [2023-04-17T18:05:52.500Z] ec43610c2a17: Verifying Checksum [2023-04-17T18:05:52.500Z] ec43610c2a17: Download complete [2023-04-17T18:05:52.764Z] 5eb5b503b376: Verifying Checksum [2023-04-17T18:05:52.764Z] 5eb5b503b376: Download complete [2023-04-17T18:05:53.328Z] 2f39f015ded8: Download complete [2023-04-17T18:05:53.901Z] 5eb5b503b376: Pull complete [2023-04-17T18:05:53.901Z] 5c69ac0246d0: Pull complete [2023-04-17T18:05:54.161Z] ec43610c2a17: Pull complete [2023-04-17T18:05:54.161Z] 3a2ae6a8a46f: Pull complete [2023-04-17T18:05:54.419Z] 33b1e0a273af: Pull complete [2023-04-17T18:05:54.419Z] 5d3b04190fa2: Pull complete [2023-04-17T18:05:59.034Z] 2f39f015ded8: Pull complete [2023-04-17T18:05:59.034Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T18:05:59.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:05:59.034Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:06:02.235Z] prd-ubuntu20.04-docker-8c-8g-8755 does not seem to be running inside a container [2023-04-17T18:06:01.862Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T18:06:03.366Z] $ docker top 991fd013e542b2c4e958456a38bd487814878a407c40fddeff2ced3f1f3e5d55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:06:04.234Z] ---> job-cost.sh [2023-04-17T18:06:04.234Z] lf-activate-venv: SKIPPING [2023-04-17T18:06:04.234Z] INFO: No Stack... [2023-04-17T18:06:04.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:06:05.061Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:06:05.398Z] + cat /w/workspace/foundry_device-usb-camera_PR-216/archives/cost.csv [2023-04-17T18:06:05.398Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T18:06:05.442Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-216-1-stack-cost] [2023-04-17T18:06:05.447Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-216-1-stack-cost] did not exist. Created. [2023-04-17T18:06:05.447Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:06:05.842Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T18:06:05.901Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:06:05.929Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:06:05.571Z] $ docker stop --time=1 991fd013e542b2c4e958456a38bd487814878a407c40fddeff2ced3f1f3e5d55 [2023-04-17T18:06:06.711Z] $ docker rm -f --volumes 991fd013e542b2c4e958456a38bd487814878a407c40fddeff2ced3f1f3e5d55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T18:06:07.514Z] Failed in branch amd64 [2023-04-17T18:08:04.694Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8756 in /w/workspace/foundry_device-usb-camera_PR-216 [Pipeline] { [Pipeline] ws [2023-04-17T18:08:04.747Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-17T18:08:04.828Z] Selected Git installation does not exist. Using Default [2023-04-17T18:08:04.828Z] The recommended git tool is: NONE [2023-04-17T18:08:10.822Z] using credential edgex-jenkins-ssh [2023-04-17T18:08:10.847Z] Cloning the remote Git repository [2023-04-17T18:08:10.901Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-04-17T18:08:11.003Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-04-17T18:08:11.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-17T18:08:11.152Z] > git --version # timeout=10 [2023-04-17T18:08:11.185Z] > git --version # 'git version 2.25.1' [2023-04-17T18:08:11.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:08:11.358Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:08:12.129Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-17T18:08:12.150Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:08:13.727Z] Merging remotes/origin/main commit 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c into PR head commit 055775b67b00fdff561bff16165999855f3c52fe [2023-04-17T18:08:13.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-17T18:08:13.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-17T18:08:13.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:08:13.172Z] > 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-17T18:08:13.745Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:08:14.048Z] Merge succeeded, producing 055775b67b00fdff561bff16165999855f3c52fe [2023-04-17T18:08:14.049Z] Checking out Revision 055775b67b00fdff561bff16165999855f3c52fe (PR-216) [2023-04-17T18:08:14.627Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-17T18:08:14.683Z] > git --version # timeout=10 [2023-04-17T18:08:14.696Z] > git --version # 'git version 2.25.1' [2023-04-17T18:08:14.708Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:08:13.820Z] > git checkout -f 055775b67b00fdff561bff16165999855f3c52fe # timeout=10 [2023-04-17T18:08:13.927Z] > git remote # timeout=10 [2023-04-17T18:08:13.949Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T18:08:13.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:08:14.001Z] > git merge 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c # timeout=10 [2023-04-17T18:08:14.031Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T18:08:14.058Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:08:14.086Z] > git checkout -f 055775b67b00fdff561bff16165999855f3c52fe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:08:15.976Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T18:08:15.976Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:08:15.976Z] Dload Upload Total Spent Left Speed [2023-04-17T18:08:15.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-04-17T18:08:16.610Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T18:08:16.956Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T18:08:16.956Z] + sudo tee /etc/docker/daemon.new [2023-04-17T18:08:16.956Z] { [2023-04-17T18:08:16.956Z] "registry-mirrors": [ [2023-04-17T18:08:16.956Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T18:08:16.956Z] ], [2023-04-17T18:08:16.956Z] "bip": "10.250.0.254/24", [2023-04-17T18:08:16.956Z] "hosts": [ [2023-04-17T18:08:16.956Z] "tcp://0.0.0.0:5555", [2023-04-17T18:08:16.956Z] "unix:///var/run/docker.sock" [2023-04-17T18:08:16.956Z] ], [2023-04-17T18:08:16.956Z] "mtu": 1458, [2023-04-17T18:08:16.956Z] "selinux-enabled": true, [2023-04-17T18:08:16.956Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T18:08:16.956Z] } [Pipeline] sh [2023-04-17T18:08:17.309Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T18:08:17.661Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:08:36.026Z] provisioning config files... [2023-04-17T18:08:36.061Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config7452942409794757063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:08:36.538Z] ---> docker-login.sh [2023-04-17T18:08:36.538Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:08:37.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:08:37.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:08:37.427Z] Configure a credential helper to remove this warning. See [2023-04-17T18:08:37.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:08:37.427Z] [2023-04-17T18:08:37.427Z] Login Succeeded [2023-04-17T18:08:37.427Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:08:37.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:08:37.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:08:37.702Z] Configure a credential helper to remove this warning. See [2023-04-17T18:08:37.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:08:37.702Z] [2023-04-17T18:08:37.702Z] Login Succeeded [2023-04-17T18:08:37.702Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:08:37.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:08:38.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:08:38.260Z] Configure a credential helper to remove this warning. See [2023-04-17T18:08:38.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:08:38.260Z] [2023-04-17T18:08:38.260Z] Login Succeeded [2023-04-17T18:08:38.260Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:08:38.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:08:38.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:08:38.806Z] Configure a credential helper to remove this warning. See [2023-04-17T18:08:38.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:08:38.806Z] [2023-04-17T18:08:38.806Z] Login Succeeded [2023-04-17T18:08:38.806Z] docker.io [2023-04-17T18:08:39.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:08:39.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:08:39.350Z] Configure a credential helper to remove this warning. See [2023-04-17T18:08:39.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:08:39.350Z] [2023-04-17T18:08:39.350Z] Login Succeeded [2023-04-17T18:08:39.350Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:08:39.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:08:39.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:08:40.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:08:40.047Z] ========================================================= [2023-04-17T18:08:40.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T18:08:40.047Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:08:40.560Z] + 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-17T18:08:40.833Z] Sending build context to Docker daemon 1.219MB [2023-04-17T18:08:40.833Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:08:40.833Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-17T18:08:41.110Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T18:08:41.110Z] af6eaf76a39c: Pulling fs layer [2023-04-17T18:08:41.110Z] 55522c791124: Pulling fs layer [2023-04-17T18:08:41.110Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T18:08:41.110Z] 169dfbe0d373: Pulling fs layer [2023-04-17T18:08:41.110Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T18:08:41.110Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T18:08:41.110Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T18:08:41.110Z] 169dfbe0d373: Waiting [2023-04-17T18:08:41.110Z] e1ff8fa3b103: Waiting [2023-04-17T18:08:41.110Z] 52ebb69f0ebf: Waiting [2023-04-17T18:08:41.110Z] 5abe8eddf0d5: Waiting [2023-04-17T18:08:41.110Z] 55522c791124: Verifying Checksum [2023-04-17T18:08:41.110Z] 55522c791124: Download complete [2023-04-17T18:08:41.110Z] 169dfbe0d373: Verifying Checksum [2023-04-17T18:08:41.110Z] 169dfbe0d373: Download complete [2023-04-17T18:08:41.110Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T18:08:41.110Z] e1ff8fa3b103: Download complete [2023-04-17T18:08:41.110Z] af6eaf76a39c: Verifying Checksum [2023-04-17T18:08:41.110Z] af6eaf76a39c: Download complete [2023-04-17T18:08:42.556Z] af6eaf76a39c: Pull complete [2023-04-17T18:08:42.556Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T18:08:42.556Z] 5abe8eddf0d5: Download complete [2023-04-17T18:08:43.154Z] 55522c791124: Pull complete [2023-04-17T18:08:44.274Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T18:08:44.274Z] ce5c4a1c91eb: Download complete [2023-04-17T18:08:44.274Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T18:08:44.274Z] 52ebb69f0ebf: Download complete [2023-04-17T18:08:56.669Z] ce5c4a1c91eb: Pull complete [2023-04-17T18:08:56.669Z] 169dfbe0d373: Pull complete [2023-04-17T18:08:56.669Z] e1ff8fa3b103: Pull complete [2023-04-17T18:09:03.372Z] 52ebb69f0ebf: Pull complete [2023-04-17T18:09:05.338Z] 5abe8eddf0d5: Pull complete [2023-04-17T18:09:05.338Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T18:09:05.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T18:09:05.338Z] ---> 6cb57ee374ae [2023-04-17T18:09:05.338Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:09:07.317Z] ---> Running in c8be357d16d7 [2023-04-17T18:09:07.589Z] Removing intermediate container c8be357d16d7 [2023-04-17T18:09:07.589Z] ---> aff7de158d58 [2023-04-17T18:09:07.589Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:09:07.589Z] ---> Running in bd5fe31e6004 [2023-04-17T18:09:07.866Z] Removing intermediate container bd5fe31e6004 [2023-04-17T18:09:07.866Z] ---> ce44c9056004 [2023-04-17T18:09:07.866Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-17T18:09:08.136Z] ---> Running in 6e583852ac38 [2023-04-17T18:09:08.405Z] Removing intermediate container 6e583852ac38 [2023-04-17T18:09:08.405Z] ---> 2a82accbed49 [2023-04-17T18:09:08.405Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-17T18:09:08.405Z] ---> Running in 61b475ca4e8b [2023-04-17T18:09:08.681Z] Removing intermediate container 61b475ca4e8b [2023-04-17T18:09:08.682Z] ---> 3dcf0984bd7b [2023-04-17T18:09:08.682Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:09:08.950Z] ---> Running in 7cadd1f3d4be [2023-04-17T18:09:10.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:09:10.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:09:11.925Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-17T18:09:11.925Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-17T18:09:12.195Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-17T18:09:12.195Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-17T18:09:12.195Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-17T18:09:12.195Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-17T18:09:12.195Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-17T18:09:12.195Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-17T18:09:12.195Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-17T18:09:12.195Z] (10/14) Installing kmod-libs (30-r1) [2023-04-17T18:09:12.195Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-17T18:09:12.195Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-17T18:09:12.195Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-17T18:09:12.467Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-17T18:09:12.467Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:09:12.467Z] Executing eudev-3.2.11-r4.trigger [2023-04-17T18:09:12.467Z] OK: 271 MiB in 67 packages [2023-04-17T18:09:13.886Z] Removing intermediate container 7cadd1f3d4be [2023-04-17T18:09:13.886Z] ---> cd40c687f72f [2023-04-17T18:09:13.886Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-17T18:09:13.886Z] ---> Running in ea46f87eb47a [2023-04-17T18:09:14.157Z] Removing intermediate container ea46f87eb47a [2023-04-17T18:09:14.157Z] ---> 3f9bdb61eee5 [2023-04-17T18:09:14.157Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-17T18:09:16.394Z] ---> 981848ec88fa [2023-04-17T18:09:16.394Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:09:16.394Z] ---> Running in a7e87627ee1e [2023-04-17T18:10:53.121Z] Removing intermediate container a7e87627ee1e [2023-04-17T18:10:53.121Z] ---> 9182470b1e43 [2023-04-17T18:10:53.121Z] Step 11/13 : COPY . . [2023-04-17T18:10:53.121Z] ---> 238f587e321f [2023-04-17T18:10:53.121Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-17T18:10:53.121Z] ---> Running in 7f37872323ae [2023-04-17T18:10:53.121Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:10:53.121Z] Dload Upload Total Spent Left Speed [2023-04-17T18:10:53.121Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 2856 0 --:--:-- --:--:-- --:--:-- 2862 100 1062 100 1062 0 0 2848 0 --:--:-- --:--:-- --:--:-- 2847 [2023-04-17T18:10:53.121Z] Removing intermediate container 7f37872323ae [2023-04-17T18:10:53.121Z] ---> 769f565fe92d [2023-04-17T18:10:53.121Z] Step 13/13 : RUN ${MAKE} [2023-04-17T18:10:53.121Z] ---> Running in a92ed830bb70 [2023-04-17T18:10:53.121Z] noop [2023-04-17T18:10:53.121Z] Removing intermediate container a92ed830bb70 [2023-04-17T18:10:53.121Z] ---> 4ad8202930c9 [2023-04-17T18:10:53.121Z] Successfully built 4ad8202930c9 [2023-04-17T18:10:53.121Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:10:53.601Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T18:10:53.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:10:53.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-8756 does not seem to be running inside a container [2023-04-17T18:10:53.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2023-04-17T18:10:55.276Z] $ docker top 83766487253c566d86225a3b524280495fda070ae39f431f90919b16970c8cfe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:10:56.204Z] + go version [2023-04-17T18:10:56.204Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T18:10:56.236Z] $ docker stop --time=1 83766487253c566d86225a3b524280495fda070ae39f431f90919b16970c8cfe [2023-04-17T18:10:57.830Z] $ docker rm -f --volumes 83766487253c566d86225a3b524280495fda070ae39f431f90919b16970c8cfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:10:58.769Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T18:10:58.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:10:59.010Z] prd-ubuntu20.04-docker-arm64-4c-16g-8756 does not seem to be running inside a container [2023-04-17T18:10:59.074Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2023-04-17T18:11:00.264Z] $ docker top 686956b2438ab64c6e121d10eba9b0414d1398916b888503aabbb0ea367752d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:11:01.150Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:11:01.871Z] + make test [2023-04-17T18:11:01.871Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:11:40.751Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-17T18:14:02.571Z] # github.com/edgexfoundry/device-usb-camera/cmd [2023-04-17T18:14:02.572Z] 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-17T18:14:02.572Z] have Discover() [2023-04-17T18:14:02.572Z] want Discover() error [2023-04-17T18:14:10.788Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.060s coverage: 2.0% of statements [2023-04-17T18:14:10.788Z] FAIL [2023-04-17T18:14:10.788Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-04-17T18:14:10.832Z] $ docker stop --time=1 686956b2438ab64c6e121d10eba9b0414d1398916b888503aabbb0ea367752d8 [2023-04-17T18:14:12.809Z] $ docker rm -f --volumes 686956b2438ab64c6e121d10eba9b0414d1398916b888503aabbb0ea367752d8 [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-17T18:14:14.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:14:14.611Z] [2023-04-17T18:14:14.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:14:15.018Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:14:15.297Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T18:14:15.297Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T18:14:15.297Z] 04944245beec: Pulling fs layer [2023-04-17T18:14:15.297Z] 699f458cf7ca: Pulling fs layer [2023-04-17T18:14:15.297Z] 765212b225bb: Pulling fs layer [2023-04-17T18:14:15.297Z] f23df028b6ca: Pulling fs layer [2023-04-17T18:14:15.297Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T18:14:15.297Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T18:14:15.297Z] f23df028b6ca: Waiting [2023-04-17T18:14:15.297Z] d65c8cfc05b1: Waiting [2023-04-17T18:14:15.297Z] 2437ff75d9bd: Waiting [2023-04-17T18:14:15.297Z] 765212b225bb: Waiting [2023-04-17T18:14:15.297Z] 04944245beec: Verifying Checksum [2023-04-17T18:14:15.297Z] 04944245beec: Download complete [2023-04-17T18:14:15.297Z] 765212b225bb: Verifying Checksum [2023-04-17T18:14:15.297Z] 765212b225bb: Download complete [2023-04-17T18:14:15.569Z] f23df028b6ca: Verifying Checksum [2023-04-17T18:14:15.569Z] f23df028b6ca: Download complete [2023-04-17T18:14:15.569Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T18:14:15.569Z] d65c8cfc05b1: Download complete [2023-04-17T18:14:15.569Z] 699f458cf7ca: Verifying Checksum [2023-04-17T18:14:15.569Z] 699f458cf7ca: Download complete [2023-04-17T18:14:16.156Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T18:14:16.156Z] 8998bd30e6a1: Download complete [2023-04-17T18:14:18.098Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T18:14:18.098Z] 2437ff75d9bd: Download complete [2023-04-17T18:14:20.063Z] 8998bd30e6a1: Pull complete [2023-04-17T18:14:20.332Z] 04944245beec: Pull complete [2023-04-17T18:14:21.747Z] 699f458cf7ca: Pull complete [2023-04-17T18:14:21.747Z] 765212b225bb: Pull complete [2023-04-17T18:14:22.716Z] f23df028b6ca: Pull complete [2023-04-17T18:14:22.716Z] d65c8cfc05b1: Pull complete [2023-04-17T18:14:37.736Z] 2437ff75d9bd: Pull complete [2023-04-17T18:14:37.736Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T18:14:37.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:14:37.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:14:38.109Z] prd-ubuntu20.04-docker-arm64-4c-16g-8756 does not seem to be running inside a container [2023-04-17T18:14:38.279Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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:arm64 cat [2023-04-17T18:14:41.062Z] $ docker top f799e2f9362337fa70c111a0774f8efd3e45fd4ebede7bbaf22f7f1146406bef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:14:42.015Z] ---> job-cost.sh [2023-04-17T18:14:42.015Z] lf-activate-venv: SKIPPING [2023-04-17T18:14:42.015Z] INFO: No Stack... [2023-04-17T18:14:42.289Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T18:14:43.270Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:14:43.946Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-04-17T18:14:43.947Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T18:14:43.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-216-1-stack-cost] [2023-04-17T18:14:44.004Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-216-1-stack-cost] did not exist. Created. [2023-04-17T18:14:44.005Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:14:44.739Z] /w/workspace/device-usb-camera/1@tmp/durable-d6aab60a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T18:14:45.415Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T18:14:45.458Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T18:14:45.970Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:14:45.987Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:14:46.070Z] $ docker stop --time=1 f799e2f9362337fa70c111a0774f8efd3e45fd4ebede7bbaf22f7f1146406bef [2023-04-17T18:14:47.585Z] $ docker rm -f --volumes f799e2f9362337fa70c111a0774f8efd3e45fd4ebede7bbaf22f7f1146406bef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T18:14:48.290Z] 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-17T18:14:50.219Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-216/archives ] [2023-04-17T18:14:50.219Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-216/archives [2023-04-17T18:14:50.219Z] total 16 [2023-04-17T18:14:50.219Z] drwxr-xr-x 3 root root 4096 Apr 17 18:06 . [2023-04-17T18:14:50.219Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 18:06 .. [2023-04-17T18:14:50.219Z] drwxr-xr-x 2 root root 4096 Apr 17 18:06 cost [2023-04-17T18:14:50.219Z] -rw-r--r-- 1 root root 89 Apr 17 18:06 cost.csv [2023-04-17T18:14:50.219Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-216/archives [2023-04-17T18:14:50.219Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-216/archives [2023-04-17T18:14:50.219Z] total 16 [2023-04-17T18:14:50.219Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:06 . [2023-04-17T18:14:50.219Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 18:06 .. [2023-04-17T18:14:50.219Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 18:06 cost [2023-04-17T18:14:50.219Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 17 18:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:14:50.548Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:14:51.442Z] ---> package-listing.sh [2023-04-17T18:14:51.442Z] ++ facter osfamily [2023-04-17T18:14:51.442Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T18:14:51.703Z] + OS_FAMILY=debian [2023-04-17T18:14:51.703Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-216 [2023-04-17T18:14:51.703Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T18:14:51.703Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T18:14:51.703Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T18:14:51.703Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T18:14:51.703Z] + '[' /w/workspace/foundry_device-usb-camera_PR-216 ']' [2023-04-17T18:14:51.703Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T18:14:51.703Z] + case "${OS_FAMILY}" in [2023-04-17T18:14:51.703Z] + dpkg -l [2023-04-17T18:14:51.703Z] + grep '^ii' [2023-04-17T18:14:51.703Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T18:14:51.703Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T18:14:51.703Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T18:14:51.703Z] + '[' /w/workspace/foundry_device-usb-camera_PR-216 ']' [2023-04-17T18:14:51.703Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-216/archives/ [2023-04-17T18:14:51.703Z] + 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-17T18:14:51.737Z] 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-17T18:14:52.038Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:14:52.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:14:52.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:14:52.575Z] prd-ubuntu20.04-docker-8c-8g-8755 does not seem to be running inside a container [2023-04-17T18:14:52.608Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T18:14:52.787Z] $ docker top 6da51ac3c33748a9bd019f1bfe56a675dc60d60f294382d5c3e854f61e667093 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:14:53.175Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T18:14:53.486Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T18:14:53.793Z] + ls /var/log/sa-host [2023-04-17T18:14:53.793Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:14:54.017Z] provisioning config files... [2023-04-17T18:14:54.026Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-216@tmp/config3146066114693006442tmp [Pipeline] { [Pipeline] echo [2023-04-17T18:14:54.075Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:14:54.390Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T18:14:54.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:14:54.812Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T18:14:54.848Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:14:55.165Z] ---> sudo-logs.sh [2023-04-17T18:14:55.166Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T18:14:55.289Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:14:55.607Z] ---> job-cost.sh [2023-04-17T18:14:55.607Z] lf-activate-venv: SKIPPING [2023-04-17T18:14:55.607Z] DEBUG: total: 0.2199999988079071 [2023-04-17T18:14:55.607Z] INFO: Retrieving Stack Cost... [2023-04-17T18:14:56.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:14:56.433Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T18:14:56.466Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:14:56.777Z] ---> logs-deploy.sh [2023-04-17T18:14:56.777Z] lf-activate-venv: SKIPPING [2023-04-17T18:14:56.777Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-216/1 [2023-04-17T18:14:56.777Z] INFO: archiving workspace using pattern(s): [2023-04-17T18:14:57.713Z] Archives upload complete. [2023-04-17T18:14:57.713Z] INFO: archiving logs to Nexus