Pull request #205 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57d44d5cff9391c3cd2572948512d680616316ed+8746c938a55b5945dba82726ee73b77bfa0394d9 (ac756617253219e75528eb94b3862ab3ccb68dd0) 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-ssh15776157671523375205.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9608258696166513388.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-205/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-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18225678073098009832.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-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12043573765479063610.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh8022875430946593031.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-205/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-205/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10219685892621209083.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6076 in /w/workspace/foundry_device-usb-camera_PR-205 [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-205 # 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/205/head:refs/remotes/origin/PR-205 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit 57d44d5cff9391c3cd2572948512d680616316ed Merge succeeded, producing 57d44d5cff9391c3cd2572948512d680616316ed Checking out Revision 57d44d5cff9391c3cd2572948512d680616316ed (PR-205) 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 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-28T18:02:14.774Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 57d44d5cff9391c3cd2572948512d680616316ed # 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 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57d44d5cff9391c3cd2572948512d680616316ed # timeout=10 [Pipeline] withCredentials [2023-03-28T18:02:14.947Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-28T18:02:15.047Z] ========================================================= [2023-03-28T18:02:15.047Z] EdgeX Global Pipelines Version Info [2023-03-28T18:02:15.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:02:15.790Z] ------------------- [2023-03-28T18:02:15.790Z] stable info: [2023-03-28T18:02:15.790Z] ------------------- [2023-03-28T18:02:15.790Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-28T18:02:15.790Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-28T18:02:15.790Z] Message: update stable to v1.0.245 [2023-03-28T18:02:16.361Z] ------------------- [2023-03-28T18:02:16.361Z] experimental info: [2023-03-28T18:02:16.361Z] ------------------- [2023-03-28T18:02:16.361Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-28T18:02:16.361Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-28T18:02:16.361Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-28T18:02:16.639Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-28T18:02:16.678Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-28T18:02:16.718Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-28T18:02:16.757Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-28T18:02:16.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-28T18:02:16.848Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-28T18:02:16.887Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-28T18:02:16.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-28T18:02:16.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-28T18:02:17.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-28T18:02:17.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-28T18:02:17.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-28T18:02:17.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-28T18:02:17.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-28T18:02:17.216Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T18:02:17.257Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T18:02:17.299Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T18:02:17.339Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T18:02:17.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-28T18:02:17.415Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-28T18:02:17.459Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-28T18:02:17.501Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-28T18:02:17.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-28T18:02:17.584Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-28T18:02:17.628Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-28T18:02:17.676Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-28T18:02:17.718Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-28T18:02:17.757Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-205 [Pipeline] echo [2023-03-28T18:02:17.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-205 [Pipeline] echo [2023-03-28T18:02:17.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-205 [Pipeline] echo [2023-03-28T18:02:17.877Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57d44d5cff9391c3cd2572948512d680616316ed [Pipeline] echo [2023-03-28T18:02:17.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57d44d5 [Pipeline] echo [2023-03-28T18:02:17.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:02:18.065Z] provisioning config files... [2023-03-28T18:02:18.081Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-205@tmp/config12231508808390648463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:02:18.425Z] ---> docker-login.sh [2023-03-28T18:02:18.425Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:02:18.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:18.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:18.949Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:18.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:18.949Z] [2023-03-28T18:02:18.949Z] Login Succeeded [2023-03-28T18:02:18.949Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:02:18.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:18.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:18.949Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:18.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:18.949Z] [2023-03-28T18:02:18.949Z] Login Succeeded [2023-03-28T18:02:18.949Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:02:18.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:18.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:18.949Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:18.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:18.949Z] [2023-03-28T18:02:18.949Z] Login Succeeded [2023-03-28T18:02:18.949Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:02:19.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:19.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:19.209Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:19.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:19.209Z] [2023-03-28T18:02:19.209Z] Login Succeeded [2023-03-28T18:02:19.209Z] docker.io [2023-03-28T18:02:19.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:19.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:19.469Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:19.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:19.469Z] [2023-03-28T18:02:19.470Z] Login Succeeded [2023-03-28T18:02:19.470Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:02:19.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-28T18:02:20.075Z] + git rev-list -1 --merges 57d44d5cff9391c3cd2572948512d680616316ed~1..57d44d5cff9391c3cd2572948512d680616316ed [Pipeline] echo [2023-03-28T18:02:20.137Z] -----------> git rev-list -1 --merges 57d44d5cff9391c3cd2572948512d680616316ed~1..57d44d5cff9391c3cd2572948512d680616316ed 57d44d5cff9391c3cd2572948512d680616316ed [false] [Pipeline] sh [2023-03-28T18:02:20.446Z] + git log --format=format:%s -1 57d44d5cff9391c3cd2572948512d680616316ed [Pipeline] echo [2023-03-28T18:02:20.486Z] ========================================================= [2023-03-28T18:02:20.486Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-28T18:02:20.486Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T18:02:20.923Z] + git log --format=format:%s -1 57d44d5cff9391c3cd2572948512d680616316ed [Pipeline] echo [2023-03-28T18:02:20.955Z] [semverPrep] GIT_COMMIT: 57d44d5cff9391c3cd2572948512d680616316ed, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-28T18:02:20.988Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-28T18:02:21.405Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T18:02:21.405Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-28T18:02:21.405Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-28T18:02:21.405Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-28T18:02:21.405Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-28T18:02:21.405Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-28T18:02:21.405Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:02:21.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:02:21.898Z] [2023-03-28T18:02:21.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:02:22.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:02:22.275Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-28T18:02:22.275Z] b85a868b505f: Pulling fs layer [2023-03-28T18:02:22.275Z] e2be974225ed: Pulling fs layer [2023-03-28T18:02:22.275Z] 339a4e72a1f5: Pulling fs layer [2023-03-28T18:02:22.275Z] 988bab9f4d93: Pulling fs layer [2023-03-28T18:02:22.275Z] 1469e6f7b9e6: Pulling fs layer [2023-03-28T18:02:22.275Z] 988bab9f4d93: Waiting [2023-03-28T18:02:22.275Z] eaf3925da568: Pulling fs layer [2023-03-28T18:02:22.275Z] bab4dde63d76: Pulling fs layer [2023-03-28T18:02:22.275Z] 1469e6f7b9e6: Waiting [2023-03-28T18:02:22.275Z] bde34c3a00c8: Pulling fs layer [2023-03-28T18:02:22.275Z] b352a97aabf1: Pulling fs layer [2023-03-28T18:02:22.275Z] 4872d77fe225: Pulling fs layer [2023-03-28T18:02:22.275Z] 5851b861e8e6: Pulling fs layer [2023-03-28T18:02:22.275Z] bab4dde63d76: Waiting [2023-03-28T18:02:22.275Z] eaf3925da568: Waiting [2023-03-28T18:02:22.275Z] 4872d77fe225: Waiting [2023-03-28T18:02:22.275Z] 5851b861e8e6: Waiting [2023-03-28T18:02:22.275Z] bde34c3a00c8: Waiting [2023-03-28T18:02:22.275Z] e2be974225ed: Verifying Checksum [2023-03-28T18:02:22.275Z] e2be974225ed: Download complete [2023-03-28T18:02:22.275Z] 988bab9f4d93: Verifying Checksum [2023-03-28T18:02:22.275Z] 988bab9f4d93: Download complete [2023-03-28T18:02:22.275Z] 1469e6f7b9e6: Verifying Checksum [2023-03-28T18:02:22.275Z] 1469e6f7b9e6: Download complete [2023-03-28T18:02:22.275Z] eaf3925da568: Download complete [2023-03-28T18:02:22.275Z] 339a4e72a1f5: Verifying Checksum [2023-03-28T18:02:22.275Z] 339a4e72a1f5: Download complete [2023-03-28T18:02:22.537Z] bde34c3a00c8: Download complete [2023-03-28T18:02:22.537Z] b352a97aabf1: Verifying Checksum [2023-03-28T18:02:22.537Z] b352a97aabf1: Download complete [2023-03-28T18:02:22.537Z] 4872d77fe225: Download complete [2023-03-28T18:02:22.537Z] 5851b861e8e6: Verifying Checksum [2023-03-28T18:02:22.537Z] 5851b861e8e6: Download complete [2023-03-28T18:02:22.537Z] b85a868b505f: Verifying Checksum [2023-03-28T18:02:22.537Z] b85a868b505f: Download complete [2023-03-28T18:02:22.795Z] bab4dde63d76: Verifying Checksum [2023-03-28T18:02:22.795Z] bab4dde63d76: Download complete [2023-03-28T18:02:23.731Z] b85a868b505f: Pull complete [2023-03-28T18:02:23.731Z] e2be974225ed: Pull complete [2023-03-28T18:02:23.991Z] 339a4e72a1f5: Pull complete [2023-03-28T18:02:24.253Z] 988bab9f4d93: Pull complete [2023-03-28T18:02:24.253Z] 1469e6f7b9e6: Pull complete [2023-03-28T18:02:24.514Z] eaf3925da568: Pull complete [2023-03-28T18:02:26.419Z] bab4dde63d76: Pull complete [2023-03-28T18:02:26.419Z] bde34c3a00c8: Pull complete [2023-03-28T18:02:26.419Z] b352a97aabf1: Pull complete [2023-03-28T18:02:26.419Z] 4872d77fe225: Pull complete [2023-03-28T18:02:26.419Z] 5851b861e8e6: Pull complete [2023-03-28T18:02:26.419Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-28T18:02:26.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:02:26.419Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:02:26.662Z] prd-ubuntu20.04-docker-8c-8g-6076 does not seem to be running inside a container [2023-03-28T18:02:26.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-205 -v /w/workspace/foundry_device-usb-camera_PR-205:/w/workspace/foundry_device-usb-camera_PR-205:rw,z -v /w/workspace/foundry_device-usb-camera_PR-205@tmp:/w/workspace/foundry_device-usb-camera_PR-205@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T18:02:27.866Z] $ docker top a315e61168b6bdd0644063d56186ba990f4511af6bb2108ee5b5a130f7e1976e -eo pid,comm [2023-03-28T18:02:27.925Z] 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-03-28T18:02:27.925Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T18:02:28.052Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T18:02:28.052Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T18:02:28.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T18:02:28.162Z] $ docker exec a315e61168b6bdd0644063d56186ba990f4511af6bb2108ee5b5a130f7e1976e ssh-agent [2023-03-28T18:02:28.264Z] SSH_AUTH_SOCK=/tmp/ssh-jrAM1n4apVcj/agent.32 [2023-03-28T18:02:28.264Z] SSH_AGENT_PID=38 [2023-03-28T18:02:28.270Z] Running ssh-add (command line suppressed) [2023-03-28T18:02:28.385Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-205@tmp/private_key_1554235263810702651.key (/w/workspace/foundry_device-usb-camera_PR-205@tmp/private_key_1554235263810702651.key) [2023-03-28T18:02:28.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T18:02:28.731Z] + git tag --points-at HEAD [Pipeline] } [2023-03-28T18:02:28.757Z] $ docker exec --env ******** --env ******** a315e61168b6bdd0644063d56186ba990f4511af6bb2108ee5b5a130f7e1976e ssh-agent -k [2023-03-28T18:02:28.863Z] unset SSH_AUTH_SOCK; [2023-03-28T18:02:28.864Z] unset SSH_AGENT_PID; [2023-03-28T18:02:28.864Z] echo Agent pid 38 killed; [2023-03-28T18:02:28.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-28T18:02:28.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T18:02:28.967Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T18:02:29.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T18:02:29.080Z] $ docker exec a315e61168b6bdd0644063d56186ba990f4511af6bb2108ee5b5a130f7e1976e ssh-agent [2023-03-28T18:02:29.188Z] SSH_AUTH_SOCK=/tmp/ssh-Jsq81Daq4Umb/agent.70 [2023-03-28T18:02:29.188Z] SSH_AGENT_PID=76 [2023-03-28T18:02:29.193Z] Running ssh-add (command line suppressed) [2023-03-28T18:02:29.308Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-205@tmp/private_key_12611503359379847577.key (/w/workspace/foundry_device-usb-camera_PR-205@tmp/private_key_12611503359379847577.key) [2023-03-28T18:02:29.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T18:02:29.647Z] + git semver init [2023-03-28T18:02:29.907Z] 2023-03-28 18:02:29,815 [run_init] DEBUG init version:0.0.0 force:False [2023-03-28T18:02:29.907Z] 2023-03-28 18:02:29,816 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-205/.semver [2023-03-28T18:02:29.908Z] 2023-03-28 18:02:29,816 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-205/.semver [2023-03-28T18:02:29.908Z] 2023-03-28 18:02:29,817 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-205/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-205, universal_newlines=False, shell=None, istream=None) [2023-03-28T18:02:30.846Z] 2023-03-28 18:02:30,482 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-205/.git/info/exclude [2023-03-28T18:02:30.846Z] 2023-03-28 18:02:30,483 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-205/.semver/PR-205 with force:False [2023-03-28T18:02:30.846Z] 2023-03-28 18:02:30,483 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-205/.semver/PR-205 [2023-03-28T18:02:30.846Z] 2023-03-28 18:02:30,487 [execute] INFO git cat-file --batch-check [2023-03-28T18:02:30.846Z] 2023-03-28 18:02:30,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-205/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T18:02:30.846Z] 2023-03-28 18:02:30,493 [execute] INFO git cat-file --batch [2023-03-28T18:02:30.846Z] 2023-03-28 18:02:30,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-205/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T18:02:30.846Z] 2023-03-28 18:02:30,498 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-205/.semver/PR-205 [2023-03-28T18:02:30.846Z] 0.0.0 [Pipeline] } [2023-03-28T18:02:30.874Z] $ docker exec --env ******** --env ******** a315e61168b6bdd0644063d56186ba990f4511af6bb2108ee5b5a130f7e1976e ssh-agent -k [2023-03-28T18:02:30.964Z] unset SSH_AUTH_SOCK; [2023-03-28T18:02:30.964Z] unset SSH_AGENT_PID; [2023-03-28T18:02:30.964Z] echo Agent pid 76 killed; [2023-03-28T18:02:30.971Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T18:02:31.384Z] + git semver [Pipeline] } [2023-03-28T18:02:31.673Z] $ docker stop --time=1 a315e61168b6bdd0644063d56186ba990f4511af6bb2108ee5b5a130f7e1976e [2023-03-28T18:02:32.945Z] $ docker rm -f --volumes a315e61168b6bdd0644063d56186ba990f4511af6bb2108ee5b5a130f7e1976e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T18:02:33.329Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-28T18:02:33.585Z] Stashed 1 file(s) [Pipeline] echo [2023-03-28T18:02:33.601Z] [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-03-28T18:02:34.154Z] provisioning config files... [2023-03-28T18:02:34.164Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-205@tmp/config842205853997091018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:02:34.505Z] ---> docker-login.sh [2023-03-28T18:02:34.505Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:02:34.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:34.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:34.505Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:34.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:34.505Z] [2023-03-28T18:02:34.505Z] Login Succeeded [2023-03-28T18:02:34.505Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:02:34.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:34.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:34.505Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:34.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:34.505Z] [2023-03-28T18:02:34.505Z] Login Succeeded [2023-03-28T18:02:34.505Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:02:34.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:34.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:34.764Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:34.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:34.764Z] [2023-03-28T18:02:34.764Z] Login Succeeded [2023-03-28T18:02:34.764Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:02:34.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:34.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:34.764Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:34.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:34.764Z] [2023-03-28T18:02:34.764Z] Login Succeeded [2023-03-28T18:02:34.764Z] docker.io [2023-03-28T18:02:34.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:02:35.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:02:35.023Z] Configure a credential helper to remove this warning. See [2023-03-28T18:02:35.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:02:35.023Z] [2023-03-28T18:02:35.023Z] Login Succeeded [2023-03-28T18:02:35.023Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:02:35.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T18:02:35.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:02:35.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:02:35.282Z] ========================================================= [2023-03-28T18:02:35.282Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-28T18:02:35.282Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:02:35.718Z] + 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-03-28T18:02:35.719Z] Sending build context to Docker daemon 1.883MB [2023-03-28T18:02:35.719Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:02:35.719Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-28T18:02:35.719Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-28T18:02:35.719Z] 63b65145d645: Pulling fs layer [2023-03-28T18:02:35.719Z] a2d21d5440eb: Pulling fs layer [2023-03-28T18:02:35.719Z] 935e6c44a52c: Pulling fs layer [2023-03-28T18:02:35.719Z] 94cc34f8dd06: Pulling fs layer [2023-03-28T18:02:35.719Z] 30dea6a524f1: Pulling fs layer [2023-03-28T18:02:35.719Z] a2aff8979fd8: Pulling fs layer [2023-03-28T18:02:35.719Z] 6808be2612f2: Pulling fs layer [2023-03-28T18:02:35.719Z] f25807f1079a: Pulling fs layer [2023-03-28T18:02:35.719Z] 94cc34f8dd06: Waiting [2023-03-28T18:02:35.719Z] 30dea6a524f1: Waiting [2023-03-28T18:02:35.719Z] f25807f1079a: Waiting [2023-03-28T18:02:35.719Z] 6808be2612f2: Waiting [2023-03-28T18:02:35.719Z] a2aff8979fd8: Waiting [2023-03-28T18:02:35.719Z] a2d21d5440eb: Verifying Checksum [2023-03-28T18:02:35.719Z] a2d21d5440eb: Download complete [2023-03-28T18:02:35.719Z] 94cc34f8dd06: Verifying Checksum [2023-03-28T18:02:35.719Z] 30dea6a524f1: Download complete [2023-03-28T18:02:35.719Z] 63b65145d645: Verifying Checksum [2023-03-28T18:02:35.719Z] 63b65145d645: Download complete [2023-03-28T18:02:35.977Z] a2aff8979fd8: Verifying Checksum [2023-03-28T18:02:35.977Z] a2aff8979fd8: Download complete [2023-03-28T18:02:35.977Z] 63b65145d645: Pull complete [2023-03-28T18:02:35.977Z] a2d21d5440eb: Pull complete [2023-03-28T18:02:36.235Z] f25807f1079a: Verifying Checksum [2023-03-28T18:02:36.235Z] f25807f1079a: Download complete [2023-03-28T18:02:36.493Z] 935e6c44a52c: Verifying Checksum [2023-03-28T18:02:36.494Z] 935e6c44a52c: Download complete [2023-03-28T18:02:36.751Z] 6808be2612f2: Verifying Checksum [2023-03-28T18:02:36.751Z] 6808be2612f2: Download complete [2023-03-28T18:02:39.280Z] 935e6c44a52c: Pull complete [2023-03-28T18:02:39.538Z] 94cc34f8dd06: Pull complete [2023-03-28T18:02:39.539Z] 30dea6a524f1: Pull complete [2023-03-28T18:02:39.539Z] a2aff8979fd8: Pull complete [2023-03-28T18:02:42.063Z] 6808be2612f2: Pull complete [2023-03-28T18:02:42.628Z] f25807f1079a: Pull complete [2023-03-28T18:02:42.628Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-28T18:02:42.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-28T18:02:42.628Z] ---> 3b553350e43f [2023-03-28T18:02:42.628Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-28T18:02:44.535Z] ---> Running in 13ee6a8bcc46 [2023-03-28T18:02:44.535Z] Removing intermediate container 13ee6a8bcc46 [2023-03-28T18:02:44.535Z] ---> b1c2659fde18 [2023-03-28T18:02:44.535Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T18:02:44.535Z] ---> Running in cdc23956eaeb [2023-03-28T18:02:44.535Z] Removing intermediate container cdc23956eaeb [2023-03-28T18:02:44.535Z] ---> df03c83f5657 [2023-03-28T18:02:44.535Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-28T18:02:44.535Z] ---> Running in 6ae3552cc160 [2023-03-28T18:02:44.535Z] Removing intermediate container 6ae3552cc160 [2023-03-28T18:02:44.535Z] ---> aa5198446ca5 [2023-03-28T18:02:44.535Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-28T18:02:44.535Z] ---> Running in b3788a97e279 [2023-03-28T18:02:44.535Z] Removing intermediate container b3788a97e279 [2023-03-28T18:02:44.535Z] ---> 645d0640c430 [2023-03-28T18:02:44.535Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T18:02:44.794Z] ---> Running in fe7ce6ff89ef [2023-03-28T18:02:45.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T18:02:45.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T18:02:45.314Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-28T18:02:45.314Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-28T18:02:45.314Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-28T18:02:45.314Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-28T18:02:45.314Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-28T18:02:45.314Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-28T18:02:45.314Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-28T18:02:45.314Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-28T18:02:45.314Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-28T18:02:45.314Z] (10/14) Installing kmod-libs (30-r1) [2023-03-28T18:02:45.314Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-28T18:02:45.314Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-28T18:02:45.314Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-28T18:02:45.314Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-28T18:02:45.314Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T18:02:45.314Z] Executing eudev-3.2.11-r4.trigger [2023-03-28T18:02:45.314Z] OK: 272 MiB in 67 packages [2023-03-28T18:02:45.895Z] Removing intermediate container fe7ce6ff89ef [2023-03-28T18:02:45.895Z] ---> b6e5e4fa7998 [2023-03-28T18:02:45.895Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-28T18:02:45.895Z] ---> Running in db6aba13f9ed [2023-03-28T18:02:45.895Z] Removing intermediate container db6aba13f9ed [2023-03-28T18:02:45.895Z] ---> 889ab828f6a3 [2023-03-28T18:02:45.895Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-28T18:02:45.895Z] ---> 115e365391ac [2023-03-28T18:02:45.895Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:02:46.154Z] ---> Running in df4846b7d953 [2023-03-28T18:02:48.983Z] Still waiting to schedule task [2023-03-28T18:02:48.983Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-28T18:03:08.096Z] Removing intermediate container df4846b7d953 [2023-03-28T18:03:08.096Z] ---> 977a3366de5b [2023-03-28T18:03:08.097Z] Step 11/13 : COPY . . [2023-03-28T18:03:08.097Z] ---> be79828a8c20 [2023-03-28T18:03:08.097Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-28T18:03:08.097Z] ---> Running in 3aceab8cceb1 [2023-03-28T18:03:08.097Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T18:03:08.097Z] Dload Upload Total Spent Left Speed [2023-03-28T18:03:08.097Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6420 0 --:--:-- --:--:-- --:--:-- 6436 [2023-03-28T18:03:08.097Z] Removing intermediate container 3aceab8cceb1 [2023-03-28T18:03:08.097Z] ---> df9025cb751b [2023-03-28T18:03:08.097Z] Step 13/13 : RUN ${MAKE} [2023-03-28T18:03:08.097Z] ---> Running in b40371bd00d9 [2023-03-28T18:03:08.097Z] noop [2023-03-28T18:03:08.097Z] Removing intermediate container b40371bd00d9 [2023-03-28T18:03:08.097Z] ---> 5fef5578cf36 [2023-03-28T18:03:08.097Z] Successfully built 5fef5578cf36 [2023-03-28T18:03:08.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:03:08.545Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T18:03:08.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:03:08.704Z] prd-ubuntu20.04-docker-8c-8g-6076 does not seem to be running inside a container [2023-03-28T18:03:08.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-205 -v /w/workspace/foundry_device-usb-camera_PR-205:/w/workspace/foundry_device-usb-camera_PR-205:rw,z -v /w/workspace/foundry_device-usb-camera_PR-205@tmp:/w/workspace/foundry_device-usb-camera_PR-205@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 ******** ci-base-image-x86_64 cat [2023-03-28T18:03:09.058Z] $ docker top 34160ef898a3933e1de18947d239d2a68b66f77f1ef55191c5b101069584f3a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:03:09.443Z] + go version [2023-03-28T18:03:09.443Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-28T18:03:09.478Z] $ docker stop --time=1 34160ef898a3933e1de18947d239d2a68b66f77f1ef55191c5b101069584f3a8 [2023-03-28T18:03:10.751Z] $ docker rm -f --volumes 34160ef898a3933e1de18947d239d2a68b66f77f1ef55191c5b101069584f3a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:03:11.459Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T18:03:11.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:03:11.605Z] prd-ubuntu20.04-docker-8c-8g-6076 does not seem to be running inside a container [2023-03-28T18:03:11.639Z] $ 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-205 -v /w/workspace/foundry_device-usb-camera_PR-205:/w/workspace/foundry_device-usb-camera_PR-205:rw,z -v /w/workspace/foundry_device-usb-camera_PR-205@tmp:/w/workspace/foundry_device-usb-camera_PR-205@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 ******** ci-base-image-x86_64 cat [2023-03-28T18:03:11.965Z] $ docker top c249e7e26a20865b3db462845a6e635c41bb5aab77385b088fb423736f7a3bce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:03:12.346Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-205 [Pipeline] fileExists [Pipeline] sh [2023-03-28T18:03:12.717Z] + make test [2023-03-28T18:03:12.717Z] go test ./... -coverprofile=coverage.out ./... [2023-03-28T18:03:17.981Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-28T18:03:27.946Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-28T18:03:27.946Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-28T18:03:27.946Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-28T18:03:27.946Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-28T18:03:27.946Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-28T18:03:27.946Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-28T18:03:27.946Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-28T18:03:27.946Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-28T18:03:27.946Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-28T18:03:27.946Z] FAIL [2023-03-28T18:03:27.946Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-28T18:03:27.991Z] $ docker stop --time=1 c249e7e26a20865b3db462845a6e635c41bb5aab77385b088fb423736f7a3bce [2023-03-28T18:03:29.720Z] $ docker rm -f --volumes c249e7e26a20865b3db462845a6e635c41bb5aab77385b088fb423736f7a3bce [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-03-28T18:03:30.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:03:30.882Z] [2023-03-28T18:03:30.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:03:31.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:03:31.249Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-28T18:03:31.249Z] 5eb5b503b376: Pulling fs layer [2023-03-28T18:03:31.249Z] 5c69ac0246d0: Pulling fs layer [2023-03-28T18:03:31.249Z] ec43610c2a17: Pulling fs layer [2023-03-28T18:03:31.249Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-28T18:03:31.249Z] 33b1e0a273af: Pulling fs layer [2023-03-28T18:03:31.249Z] 5d3b04190fa2: Pulling fs layer [2023-03-28T18:03:31.249Z] 2f39f015ded8: Pulling fs layer [2023-03-28T18:03:31.249Z] 33b1e0a273af: Waiting [2023-03-28T18:03:31.249Z] 5d3b04190fa2: Waiting [2023-03-28T18:03:31.249Z] 2f39f015ded8: Waiting [2023-03-28T18:03:31.249Z] 5c69ac0246d0: Verifying Checksum [2023-03-28T18:03:31.249Z] 5c69ac0246d0: Download complete [2023-03-28T18:03:31.249Z] 3a2ae6a8a46f: Download complete [2023-03-28T18:03:31.249Z] 33b1e0a273af: Verifying Checksum [2023-03-28T18:03:31.249Z] 33b1e0a273af: Download complete [2023-03-28T18:03:31.249Z] 5d3b04190fa2: Verifying Checksum [2023-03-28T18:03:31.249Z] 5d3b04190fa2: Download complete [2023-03-28T18:03:31.249Z] ec43610c2a17: Verifying Checksum [2023-03-28T18:03:31.249Z] ec43610c2a17: Download complete [2023-03-28T18:03:31.507Z] 5eb5b503b376: Verifying Checksum [2023-03-28T18:03:31.508Z] 5eb5b503b376: Download complete [2023-03-28T18:03:32.119Z] 2f39f015ded8: Download complete [2023-03-28T18:03:32.740Z] 5eb5b503b376: Pull complete [2023-03-28T18:03:32.740Z] 5c69ac0246d0: Pull complete [2023-03-28T18:03:33.019Z] ec43610c2a17: Pull complete [2023-03-28T18:03:33.305Z] 3a2ae6a8a46f: Pull complete [2023-03-28T18:03:33.305Z] 33b1e0a273af: Pull complete [2023-03-28T18:03:33.573Z] 5d3b04190fa2: Pull complete [2023-03-28T18:03:37.761Z] 2f39f015ded8: Pull complete [2023-03-28T18:03:37.761Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-28T18:03:37.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:03:37.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:03:37.985Z] prd-ubuntu20.04-docker-8c-8g-6076 does not seem to be running inside a container [2023-03-28T18:03:38.018Z] $ 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-205 -v /w/workspace/foundry_device-usb-camera_PR-205:/w/workspace/foundry_device-usb-camera_PR-205:rw,z -v /w/workspace/foundry_device-usb-camera_PR-205@tmp:/w/workspace/foundry_device-usb-camera_PR-205@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-03-28T18:03:39.144Z] $ docker top 19480a2f9a419ab04198a62ef4de850f8e4198a14565cea53d2516259ef49ceb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:03:39.596Z] ---> job-cost.sh [2023-03-28T18:03:39.596Z] lf-activate-venv: SKIPPING [2023-03-28T18:03:39.596Z] INFO: No Stack... [2023-03-28T18:03:39.856Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T18:03:40.425Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T18:03:40.740Z] + cat /w/workspace/foundry_device-usb-camera_PR-205/archives/cost.csv [2023-03-28T18:03:40.740Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T18:03:40.785Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-205-1-stack-cost] [2023-03-28T18:03:40.790Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-205-1-stack-cost] did not exist. Created. [2023-03-28T18:03:40.790Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T18:03:41.171Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-28T18:03:41.226Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T18:03:41.247Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-205-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T18:03:41.322Z] $ docker stop --time=1 19480a2f9a419ab04198a62ef4de850f8e4198a14565cea53d2516259ef49ceb [2023-03-28T18:03:42.472Z] $ docker rm -f --volumes 19480a2f9a419ab04198a62ef4de850f8e4198a14565cea53d2516259ef49ceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-28T18:03:42.842Z] Failed in branch amd64 [2023-03-28T18:04:32.483Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6078 in /w/workspace/foundry_device-usb-camera_PR-205 [Pipeline] { [Pipeline] ws [2023-03-28T18:04:32.533Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-28T18:04:32.640Z] Selected Git installation does not exist. Using Default [2023-03-28T18:04:32.640Z] The recommended git tool is: NONE [2023-03-28T18:04:40.565Z] using credential edgex-jenkins-ssh [2023-03-28T18:04:40.585Z] Cloning the remote Git repository [2023-03-28T18:04:40.655Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-28T18:04:40.804Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-28T18:04:41.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-28T18:04:41.048Z] > git --version # timeout=10 [2023-03-28T18:04:41.081Z] > git --version # 'git version 2.25.1' [2023-03-28T18:04:41.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:04:41.370Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T18:04:42.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-28T18:04:42.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T18:04:42.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-28T18:04:42.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-28T18:04:42.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:04:42.992Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/205/head:refs/remotes/origin/PR-205 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-28T18:04:43.499Z] Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit 57d44d5cff9391c3cd2572948512d680616316ed [2023-03-28T18:04:43.794Z] Merge succeeded, producing 57d44d5cff9391c3cd2572948512d680616316ed [2023-03-28T18:04:43.794Z] Checking out Revision 57d44d5cff9391c3cd2572948512d680616316ed (PR-205) [2023-03-28T18:04:44.335Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-28T18:04:44.391Z] > git --version # timeout=10 [2023-03-28T18:04:44.403Z] > git --version # 'git version 2.25.1' [2023-03-28T18:04:44.420Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-28T18:04:43.522Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T18:04:43.602Z] > git checkout -f 57d44d5cff9391c3cd2572948512d680616316ed # timeout=10 [2023-03-28T18:04:43.698Z] > git remote # timeout=10 [2023-03-28T18:04:43.714Z] > git config --get remote.origin.url # timeout=10 [2023-03-28T18:04:43.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:04:43.754Z] > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 [2023-03-28T18:04:43.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-28T18:04:43.807Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T18:04:43.822Z] > git checkout -f 57d44d5cff9391c3cd2572948512d680616316ed # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T18:04:45.693Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-28T18:04:45.693Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T18:04:45.693Z] Dload Upload Total Spent Left Speed [2023-03-28T18:04:45.693Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-03-28T18:04:46.332Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-28T18:04:46.676Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-28T18:04:46.676Z] + sudo tee /etc/docker/daemon.new [2023-03-28T18:04:46.676Z] { [2023-03-28T18:04:46.676Z] "registry-mirrors": [ [2023-03-28T18:04:46.676Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-28T18:04:46.676Z] ], [2023-03-28T18:04:46.676Z] "bip": "10.250.0.254/24", [2023-03-28T18:04:46.676Z] "hosts": [ [2023-03-28T18:04:46.676Z] "tcp://0.0.0.0:5555", [2023-03-28T18:04:46.676Z] "unix:///var/run/docker.sock" [2023-03-28T18:04:46.676Z] ], [2023-03-28T18:04:46.676Z] "mtu": 1458, [2023-03-28T18:04:46.676Z] "selinux-enabled": true, [2023-03-28T18:04:46.676Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-28T18:04:46.676Z] } [Pipeline] sh [2023-03-28T18:04:47.025Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-28T18:04:47.369Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:05:05.679Z] provisioning config files... [2023-03-28T18:05:05.709Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config3478912756087559710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:05:06.103Z] ---> docker-login.sh [2023-03-28T18:05:06.104Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:05:06.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:05:06.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:05:06.648Z] Configure a credential helper to remove this warning. See [2023-03-28T18:05:06.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:05:06.648Z] [2023-03-28T18:05:06.648Z] Login Succeeded [2023-03-28T18:05:06.648Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:05:06.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:05:06.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:05:06.918Z] Configure a credential helper to remove this warning. See [2023-03-28T18:05:06.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:05:06.918Z] [2023-03-28T18:05:06.918Z] Login Succeeded [2023-03-28T18:05:06.918Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:05:07.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:05:07.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:05:07.465Z] Configure a credential helper to remove this warning. See [2023-03-28T18:05:07.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:05:07.465Z] [2023-03-28T18:05:07.465Z] Login Succeeded [2023-03-28T18:05:07.465Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:05:07.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:05:07.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:05:07.736Z] Configure a credential helper to remove this warning. See [2023-03-28T18:05:07.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:05:07.736Z] [2023-03-28T18:05:07.736Z] Login Succeeded [2023-03-28T18:05:07.736Z] docker.io [2023-03-28T18:05:08.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:05:08.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:05:08.273Z] Configure a credential helper to remove this warning. See [2023-03-28T18:05:08.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:05:08.273Z] [2023-03-28T18:05:08.273Z] Login Succeeded [2023-03-28T18:05:08.273Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:05:08.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T18:05:08.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:05:08.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:05:08.754Z] ========================================================= [2023-03-28T18:05:08.754Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-28T18:05:08.754Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:05:09.291Z] + 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-03-28T18:05:12.647Z] Sending build context to Docker daemon 1.204MB [2023-03-28T18:05:12.647Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:05:12.647Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-28T18:05:12.647Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-28T18:05:12.647Z] af6eaf76a39c: Pulling fs layer [2023-03-28T18:05:12.647Z] 55522c791124: Pulling fs layer [2023-03-28T18:05:12.647Z] ce5c4a1c91eb: Pulling fs layer [2023-03-28T18:05:12.647Z] 169dfbe0d373: Pulling fs layer [2023-03-28T18:05:12.647Z] e1ff8fa3b103: Pulling fs layer [2023-03-28T18:05:12.647Z] 52ebb69f0ebf: Pulling fs layer [2023-03-28T18:05:12.647Z] 5abe8eddf0d5: Pulling fs layer [2023-03-28T18:05:12.647Z] 169dfbe0d373: Waiting [2023-03-28T18:05:12.647Z] e1ff8fa3b103: Waiting [2023-03-28T18:05:12.647Z] 52ebb69f0ebf: Waiting [2023-03-28T18:05:12.647Z] 5abe8eddf0d5: Waiting [2023-03-28T18:05:12.647Z] 55522c791124: Download complete [2023-03-28T18:05:12.647Z] 169dfbe0d373: Verifying Checksum [2023-03-28T18:05:12.647Z] 169dfbe0d373: Download complete [2023-03-28T18:05:12.647Z] e1ff8fa3b103: Verifying Checksum [2023-03-28T18:05:12.647Z] e1ff8fa3b103: Download complete [2023-03-28T18:05:12.647Z] af6eaf76a39c: Verifying Checksum [2023-03-28T18:05:12.647Z] af6eaf76a39c: Download complete [2023-03-28T18:05:13.244Z] af6eaf76a39c: Pull complete [2023-03-28T18:05:13.515Z] 5abe8eddf0d5: Verifying Checksum [2023-03-28T18:05:13.515Z] 5abe8eddf0d5: Download complete [2023-03-28T18:05:13.784Z] 55522c791124: Pull complete [2023-03-28T18:05:14.774Z] ce5c4a1c91eb: Verifying Checksum [2023-03-28T18:05:14.774Z] ce5c4a1c91eb: Download complete [2023-03-28T18:05:14.774Z] 52ebb69f0ebf: Verifying Checksum [2023-03-28T18:05:14.774Z] 52ebb69f0ebf: Download complete [2023-03-28T18:05:27.119Z] ce5c4a1c91eb: Pull complete [2023-03-28T18:05:27.119Z] 169dfbe0d373: Pull complete [2023-03-28T18:05:27.119Z] e1ff8fa3b103: Pull complete [2023-03-28T18:05:33.908Z] 52ebb69f0ebf: Pull complete [2023-03-28T18:05:35.332Z] 5abe8eddf0d5: Pull complete [2023-03-28T18:05:35.332Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-28T18:05:35.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-28T18:05:35.332Z] ---> 6cb57ee374ae [2023-03-28T18:05:35.332Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-28T18:05:36.320Z] ---> Running in e556d2c08e86 [2023-03-28T18:05:36.320Z] Removing intermediate container e556d2c08e86 [2023-03-28T18:05:36.320Z] ---> b21d1a843de8 [2023-03-28T18:05:36.320Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T18:05:36.320Z] ---> Running in 358d61a80d26 [2023-03-28T18:05:36.589Z] Removing intermediate container 358d61a80d26 [2023-03-28T18:05:36.589Z] ---> f3c9a4934f54 [2023-03-28T18:05:36.589Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-28T18:05:36.861Z] ---> Running in 03b08ee92b61 [2023-03-28T18:05:38.275Z] Removing intermediate container 03b08ee92b61 [2023-03-28T18:05:38.275Z] ---> 33d501c86711 [2023-03-28T18:05:38.275Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-28T18:05:38.545Z] ---> Running in 7ed1b3a273d7 [2023-03-28T18:05:38.815Z] Removing intermediate container 7ed1b3a273d7 [2023-03-28T18:05:38.815Z] ---> 534074507938 [2023-03-28T18:05:38.816Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T18:05:38.816Z] ---> Running in fcff7aebeac7 [2023-03-28T18:05:40.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T18:05:40.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T18:05:41.470Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-28T18:05:41.470Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-28T18:05:41.470Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-28T18:05:41.470Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-28T18:05:41.470Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-28T18:05:41.742Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-28T18:05:41.742Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-28T18:05:41.742Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-28T18:05:41.742Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-28T18:05:41.742Z] (10/14) Installing kmod-libs (30-r1) [2023-03-28T18:05:41.742Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-28T18:05:41.742Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-28T18:05:41.742Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-28T18:05:41.742Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-28T18:05:41.742Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T18:05:41.742Z] Executing eudev-3.2.11-r4.trigger [2023-03-28T18:05:41.742Z] OK: 271 MiB in 67 packages [2023-03-28T18:05:44.361Z] Removing intermediate container fcff7aebeac7 [2023-03-28T18:05:44.361Z] ---> 7e3d4e2f3947 [2023-03-28T18:05:44.361Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-28T18:05:44.361Z] ---> Running in 25b7905acc74 [2023-03-28T18:05:44.361Z] Removing intermediate container 25b7905acc74 [2023-03-28T18:05:44.361Z] ---> 05f7e00ea26b [2023-03-28T18:05:44.361Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-28T18:05:44.967Z] ---> 3ea1b95489f5 [2023-03-28T18:05:44.967Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:05:44.967Z] ---> Running in c43d2871bbb4 [2023-03-28T18:06:52.871Z] Removing intermediate container c43d2871bbb4 [2023-03-28T18:06:52.871Z] ---> d8b19af29117 [2023-03-28T18:06:52.871Z] Step 11/13 : COPY . . [2023-03-28T18:06:52.871Z] ---> 609c4c7207e4 [2023-03-28T18:06:52.871Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-28T18:06:52.871Z] ---> Running in 2fdcb949030b [2023-03-28T18:06:52.871Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T18:06:52.871Z] Dload Upload Total Spent Left Speed [2023-03-28T18:06:52.871Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4170 0 --:--:-- --:--:-- --:--:-- 4197 [2023-03-28T18:06:52.871Z] Removing intermediate container 2fdcb949030b [2023-03-28T18:06:52.871Z] ---> 0ebe568ac697 [2023-03-28T18:06:52.871Z] Step 13/13 : RUN ${MAKE} [2023-03-28T18:06:52.871Z] ---> Running in 680dae51022d [2023-03-28T18:06:52.871Z] noop [2023-03-28T18:06:52.871Z] Removing intermediate container 680dae51022d [2023-03-28T18:06:52.871Z] ---> 2e2fc9c0261f [2023-03-28T18:06:52.871Z] Successfully built 2e2fc9c0261f [2023-03-28T18:06:52.871Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:06:53.362Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T18:06:53.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:06:53.654Z] prd-ubuntu20.04-docker-arm64-4c-16g-6078 does not seem to be running inside a container [2023-03-28T18:06:53.737Z] $ 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-03-28T18:06:54.952Z] $ docker top 315ee73241c241f39761a163077af84009376628e6442b091f8a5290883fb557 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:06:55.826Z] + go version [2023-03-28T18:06:55.826Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-28T18:06:55.868Z] $ docker stop --time=1 315ee73241c241f39761a163077af84009376628e6442b091f8a5290883fb557 [2023-03-28T18:06:58.425Z] $ docker rm -f --volumes 315ee73241c241f39761a163077af84009376628e6442b091f8a5290883fb557 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:06:59.277Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T18:06:59.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:06:59.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-6078 does not seem to be running inside a container [2023-03-28T18:06:59.593Z] $ 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-03-28T18:07:00.738Z] $ docker top 1755671ff7d38138747d6deaf3a8cd7368c2d1e371dc3a6dae739fe7afe261b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:07:01.275Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-28T18:07:01.939Z] + make test [2023-03-28T18:07:01.940Z] go test ./... -coverprofile=coverage.out ./... [2023-03-28T18:07:34.171Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-28T18:09:10.834Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-28T18:09:10.834Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-28T18:09:10.834Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-28T18:09:10.834Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-28T18:09:10.834Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-28T18:09:10.834Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-28T18:09:10.834Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-28T18:09:10.834Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-28T18:09:29.062Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-28T18:09:29.062Z] FAIL [2023-03-28T18:09:29.062Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-28T18:09:29.121Z] $ docker stop --time=1 1755671ff7d38138747d6deaf3a8cd7368c2d1e371dc3a6dae739fe7afe261b9 [2023-03-28T18:09:32.302Z] $ docker rm -f --volumes 1755671ff7d38138747d6deaf3a8cd7368c2d1e371dc3a6dae739fe7afe261b9 [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-03-28T18:09:33.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T18:09:33.967Z] [2023-03-28T18:09:33.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:09:34.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T18:09:34.632Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-28T18:09:34.632Z] 8998bd30e6a1: Pulling fs layer [2023-03-28T18:09:34.632Z] 04944245beec: Pulling fs layer [2023-03-28T18:09:34.632Z] 699f458cf7ca: Pulling fs layer [2023-03-28T18:09:34.632Z] 765212b225bb: Pulling fs layer [2023-03-28T18:09:34.632Z] f23df028b6ca: Pulling fs layer [2023-03-28T18:09:34.632Z] d65c8cfc05b1: Pulling fs layer [2023-03-28T18:09:34.632Z] 2437ff75d9bd: Pulling fs layer [2023-03-28T18:09:34.632Z] 765212b225bb: Waiting [2023-03-28T18:09:34.632Z] f23df028b6ca: Waiting [2023-03-28T18:09:34.632Z] d65c8cfc05b1: Waiting [2023-03-28T18:09:34.632Z] 2437ff75d9bd: Waiting [2023-03-28T18:09:34.632Z] 04944245beec: Verifying Checksum [2023-03-28T18:09:34.632Z] 04944245beec: Download complete [2023-03-28T18:09:34.632Z] 765212b225bb: Verifying Checksum [2023-03-28T18:09:34.632Z] 765212b225bb: Download complete [2023-03-28T18:09:34.632Z] f23df028b6ca: Verifying Checksum [2023-03-28T18:09:34.632Z] f23df028b6ca: Download complete [2023-03-28T18:09:34.908Z] d65c8cfc05b1: Verifying Checksum [2023-03-28T18:09:34.908Z] d65c8cfc05b1: Download complete [2023-03-28T18:09:34.908Z] 699f458cf7ca: Verifying Checksum [2023-03-28T18:09:34.908Z] 699f458cf7ca: Download complete [2023-03-28T18:09:35.179Z] 8998bd30e6a1: Verifying Checksum [2023-03-28T18:09:37.763Z] 2437ff75d9bd: Verifying Checksum [2023-03-28T18:09:37.763Z] 2437ff75d9bd: Download complete [2023-03-28T18:09:39.713Z] 8998bd30e6a1: Pull complete [2023-03-28T18:09:39.984Z] 04944245beec: Pull complete [2023-03-28T18:09:41.400Z] 699f458cf7ca: Pull complete [2023-03-28T18:09:41.400Z] 765212b225bb: Pull complete [2023-03-28T18:09:42.363Z] f23df028b6ca: Pull complete [2023-03-28T18:09:42.363Z] d65c8cfc05b1: Pull complete [2023-03-28T18:09:57.375Z] 2437ff75d9bd: Pull complete [2023-03-28T18:09:57.375Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-28T18:09:57.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T18:09:57.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:09:57.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-6078 does not seem to be running inside a container [2023-03-28T18:09:57.796Z] $ 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-03-28T18:10:00.430Z] $ docker top a2f51cc0467b40e208ff2b1d4acbc8f785219cc9d15cf7a50583e566cd999f3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:10:01.331Z] ---> job-cost.sh [2023-03-28T18:10:01.332Z] lf-activate-venv: SKIPPING [2023-03-28T18:10:01.332Z] INFO: No Stack... [2023-03-28T18:10:01.599Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-28T18:10:02.561Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T18:10:03.229Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-28T18:10:03.229Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T18:10:03.325Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-205-1-stack-cost] [2023-03-28T18:10:03.330Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-205-1-stack-cost] did not exist. Created. [2023-03-28T18:10:03.330Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T18:10:04.058Z] /w/workspace/device-usb-camera/1@tmp/durable-d60014c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-28T18:10:04.732Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-28T18:10:04.765Z] Warning: overwriting stash ‘stack-cost’ [2023-03-28T18:10:05.219Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T18:10:05.237Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-205-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T18:10:05.320Z] $ docker stop --time=1 a2f51cc0467b40e208ff2b1d4acbc8f785219cc9d15cf7a50583e566cd999f3f [2023-03-28T18:10:06.826Z] $ docker rm -f --volumes a2f51cc0467b40e208ff2b1d4acbc8f785219cc9d15cf7a50583e566cd999f3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-28T18:10:07.513Z] 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-03-28T18:10:09.443Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-205/archives ] [2023-03-28T18:10:09.443Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-205/archives [2023-03-28T18:10:09.443Z] total 16 [2023-03-28T18:10:09.443Z] drwxr-xr-x 3 root root 4096 Mar 28 18:03 . [2023-03-28T18:10:09.443Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 18:03 .. [2023-03-28T18:10:09.443Z] drwxr-xr-x 2 root root 4096 Mar 28 18:03 cost [2023-03-28T18:10:09.443Z] -rw-r--r-- 1 root root 89 Mar 28 18:03 cost.csv [2023-03-28T18:10:09.443Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-205/archives [2023-03-28T18:10:09.443Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-205/archives [2023-03-28T18:10:09.443Z] total 16 [2023-03-28T18:10:09.443Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:03 . [2023-03-28T18:10:09.443Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 18:03 .. [2023-03-28T18:10:09.443Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 18:03 cost [2023-03-28T18:10:09.443Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 28 18:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:10:09.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:10:10.670Z] ---> package-listing.sh [2023-03-28T18:10:10.670Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-28T18:10:10.670Z] ++ facter osfamily [2023-03-28T18:10:10.937Z] + OS_FAMILY=debian [2023-03-28T18:10:10.937Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-205 [2023-03-28T18:10:10.937Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-28T18:10:10.937Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-28T18:10:10.937Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-28T18:10:10.937Z] + PACKAGES=/tmp/packages_start.txt [2023-03-28T18:10:10.937Z] + '[' /w/workspace/foundry_device-usb-camera_PR-205 ']' [2023-03-28T18:10:10.937Z] + PACKAGES=/tmp/packages_end.txt [2023-03-28T18:10:10.937Z] + case "${OS_FAMILY}" in [2023-03-28T18:10:10.937Z] + dpkg -l [2023-03-28T18:10:10.937Z] + grep '^ii' [2023-03-28T18:10:10.937Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-28T18:10:10.937Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-28T18:10:10.937Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-28T18:10:10.937Z] + '[' /w/workspace/foundry_device-usb-camera_PR-205 ']' [2023-03-28T18:10:10.937Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-205/archives/ [2023-03-28T18:10:10.937Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-205/archives/ [Pipeline] echo [2023-03-28T18:10:10.971Z] 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-205/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-28T18:10:11.264Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:10:11.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:10:11.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:10:12.044Z] prd-ubuntu20.04-docker-8c-8g-6076 does not seem to be running inside a container [2023-03-28T18:10:12.076Z] $ 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-205/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-205 -v /w/workspace/foundry_device-usb-camera_PR-205:/w/workspace/foundry_device-usb-camera_PR-205:rw,z -v /w/workspace/foundry_device-usb-camera_PR-205@tmp:/w/workspace/foundry_device-usb-camera_PR-205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T18:10:12.263Z] $ docker top 245b1b545daf8bbb5d96ebf4b364937c05643ab04f7d2b28942b5e92a2a71189 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:10:12.649Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-28T18:10:12.962Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-28T18:10:13.274Z] + ls /var/log/sa-host [2023-03-28T18:10:13.274Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:10:13.510Z] provisioning config files... [2023-03-28T18:10:13.523Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-205@tmp/config8991834690848908003tmp [Pipeline] { [Pipeline] echo [2023-03-28T18:10:13.576Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:10:13.891Z] ---> create-netrc.sh [Pipeline] } [2023-03-28T18:10:13.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:10:14.330Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-28T18:10:14.363Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:10:14.675Z] ---> sudo-logs.sh [2023-03-28T18:10:14.676Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-28T18:10:14.760Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:10:15.082Z] ---> job-cost.sh [2023-03-28T18:10:15.082Z] lf-activate-venv: SKIPPING [2023-03-28T18:10:15.082Z] DEBUG: total: 0.2199999988079071 [2023-03-28T18:10:15.082Z] INFO: Retrieving Stack Cost... [2023-03-28T18:10:15.341Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T18:10:15.909Z] INFO: Archiving Costs [Pipeline] echo [2023-03-28T18:10:15.948Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:10:16.262Z] ---> logs-deploy.sh [2023-03-28T18:10:16.262Z] lf-activate-venv: SKIPPING [2023-03-28T18:10:16.262Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-205/1 [2023-03-28T18:10:16.262Z] INFO: archiving workspace using pattern(s): [2023-03-28T18:10:17.201Z] Archives upload complete. [2023-03-28T18:10:17.201Z] INFO: archiving logs to Nexus