{
  "_class" : "hudson.model.FreeStyleBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "hudson.model.Cause$UpstreamCause",
          "shortDescription" : "Started by upstream project \"registry-rebuild-upload-titan\" build number 1,113",
          "upstreamBuild" : 1113,
          "upstreamProject" : "registry-rebuild-upload-titan",
          "upstreamUrl" : "job/registry-rebuild-upload-titan/"
        }
      ]
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 6,
      "buildableTimeMillis" : 6,
      "buildingDurationMillis" : 862,
      "executingTimeMillis" : 862,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 6615,
      "waitingTimeMillis" : 6615
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "refs/remotes/origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 564,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "193feff80f5895ee50e79e36467d5bde2931b63f",
            "branch" : [
              {
                "SHA1" : "193feff80f5895ee50e79e36467d5bde2931b63f",
                "name" : "refs/remotes/origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "193feff80f5895ee50e79e36467d5bde2931b63f",
            "branch" : [
              {
                "SHA1" : "193feff80f5895ee50e79e36467d5bde2931b63f",
                "name" : "refs/remotes/origin/master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "193feff80f5895ee50e79e36467d5bde2931b63f",
        "branch" : [
          {
            "SHA1" : "193feff80f5895ee50e79e36467d5bde2931b63f",
            "name" : "refs/remotes/origin/master"
          }
        ]
      },
      "remoteUrls" : [
        "https://gerrit.osmocom.org/docker-playground"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#564",
  "duration" : 862,
  "estimatedDuration" : 19771,
  "executor" : None,
  "fullDisplayName" : "registry-rebuild-upload-ttcn3-bts-tests #564",
  "id" : "564",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 564,
  "queueId" : 921602,
  "result" : "SUCCESS",
  "timestamp" : 1669855397420,
  "url" : "https://jenkins.osmocom.org/jenkins/job/registry-rebuild-upload-ttcn3-bts-tests/564/",
  "builtOn" : "build2-deb9build-ansible",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "release-tarball-build-dist/Dockerfile"
        ],
        "commitId" : "59f3aa83d54e40ae7741774e0c8fc3456f0eca15",
        "timestamp" : 1669820660000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/osmith",
          "fullName" : "Oliver Smith"
        },
        "authorEmail" : "osmith@sysmocom.de",
        "comment" : "release-tarball-build-dist: order install pkgs\u000a\u000aChange-Id: I059f400db20e858b379704363e32d39a7897984a\u000a",
        "date" : "2022-11-30 16:04:20 +0100",
        "id" : "59f3aa83d54e40ae7741774e0c8fc3456f0eca15",
        "msg" : "release-tarball-build-dist: order install pkgs",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "release-tarball-build-dist/Dockerfile"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "release-tarball-build-dist/Dockerfile",
          "release-tarball-build-dist/jenkins.sh",
          "release-tarball-build-dist/osmocom-release-tarballs.sh",
          "release-tarball-build-dist/known_hosts"
        ],
        "commitId" : "c4f160e2c2b8a76c18a8fa6ee161245f49b5f01e",
        "timestamp" : 1669823487000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/osmith",
          "fullName" : "Oliver Smith"
        },
        "authorEmail" : "osmith@sysmocom.de",
        "comment" : "release-tarball-build-dist: move rsync into docker\u000a\u000aPrepare to use ssh inside the docker container to check if tarballs\u000aalready exist, see the next patch.\u000a\u000aRemove the '' around UserKnownHostsFile as using SSH_COMMAND in the next\u000apatch without rsync fails otherwise with:\u000a  command-line: line 0: Bad configuration option: 'userknownhostsfile\u000a\u000aChange-Id: I6dfe5d587d05063c6cf2c9ec683e7b7e499b79c1\u000a",
        "date" : "2022-11-30 16:51:27 +0100",
        "id" : "c4f160e2c2b8a76c18a8fa6ee161245f49b5f01e",
        "msg" : "release-tarball-build-dist: move rsync into docker",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "release-tarball-build-dist/jenkins.sh"
          },
          {
            "editType" : "edit",
            "file" : "release-tarball-build-dist/Dockerfile"
          },
          {
            "editType" : "edit",
            "file" : "release-tarball-build-dist/osmocom-release-tarballs.sh"
          },
          {
            "editType" : "add",
            "file" : "release-tarball-build-dist/known_hosts"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "release-tarball-build-dist/osmocom-release-tarballs.sh"
        ],
        "commitId" : "757396a61b6ac06098d3a28101e2e42366453dbe",
        "timestamp" : 1669823533000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/osmith",
          "fullName" : "Oliver Smith"
        },
        "authorEmail" : "osmith@sysmocom.de",
        "comment" : "release-tarball-build-dist: check exists on server\u000a\u000aPreviously this job relied on always running on the same jenkins node,\u000aand having the previously built release tarballs in a workspace\u000adirectory that does not get removed. It would only skip building a\u000arelease tarball if the file already exists locally.\u000a\u000aAs part of OS#5793 this job needs to be moved away from that jenkins\u000anode. When trying to run the job on a different node, it will build all\u000arelease tarballs again which takes unnecessarsily long and actually\u000afails on libosmocore-0.9.4 due to a missing python2.\u000a\u000aThis probably happens because the job was refactored at some point and I\u000adidn't realize that the python2 dep is now missing as the previous\u000atarballs existed.\u000a\u000aIn general it doesn't make much sense to build previous release tarballs\u000aagain and to always keep the legacy environments around for that. Change\u000athe code to check if a tarball exists on the server, and skip building\u000athe tarball in that case.\u000a\u000aRelated: OS#5793\u000aRelated: https://jenkins.osmocom.org/jenkins/view/All%20no%20Gerrit/job/Osmocom-release-tarballs/1281/console\u000aChange-Id: I4b8c149c9cdbe7c613eea5d9be15794de5e5ddce\u000a",
        "date" : "2022-11-30 16:52:13 +0100",
        "id" : "757396a61b6ac06098d3a28101e2e42366453dbe",
        "msg" : "release-tarball-build-dist: check exists on server",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "release-tarball-build-dist/osmocom-release-tarballs.sh"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "release-tarball-build-dist/osmocom-release-tarballs.sh"
        ],
        "commitId" : "858178e4e3032adc7d14c67396ec5335e5d61168",
        "timestamp" : 1669825688000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/osmith",
          "fullName" : "Oliver Smith"
        },
        "authorEmail" : "osmith@sysmocom.de",
        "comment" : "release-tarball-build-dist: fix missing dir crash\u000a\u000aDon't fail if no tarball was generated and therefore the\u000a_release_tarballs directory does not exist.\u000a\u000aRelated: OS#5793\u000aChange-Id: Ib7c551e5376776eb267140bc4b897d5bb1634cbc\u000a",
        "date" : "2022-11-30 17:28:08 +0100",
        "id" : "858178e4e3032adc7d14c67396ec5335e5d61168",
        "msg" : "release-tarball-build-dist: fix missing dir crash",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "release-tarball-build-dist/osmocom-release-tarballs.sh"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "release-tarball-build-dist/Dockerfile"
        ],
        "commitId" : "193feff80f5895ee50e79e36467d5bde2931b63f",
        "timestamp" : 1669825691000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/osmith",
          "fullName" : "Oliver Smith"
        },
        "authorEmail" : "osmith@sysmocom.de",
        "comment" : "release-tarball-build-dist: fix permission errors\u000a\u000aRun all commands inside the docker containers as a user with the same\u000aUID as on the host system, not as root. This is a good idea in general\u000aand also fixes permission problems when jenkins tries to wipe the\u000aworkspace.\u000a\u000aRelated: OS#5793\u000aChange-Id: I0d949e5ab4b1a709d18a316def0a98c3b244457e\u000a",
        "date" : "2022-11-30 17:28:11 +0100",
        "id" : "193feff80f5895ee50e79e36467d5bde2931b63f",
        "msg" : "release-tarball-build-dist: fix permission errors",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "release-tarball-build-dist/Dockerfile"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/osmith",
      "fullName" : "Oliver Smith"
    }
  ]
}