The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
---

# -------------------- owners

- schema: Owner
  name: sschwigo
  data:
    id: 12
    name: Steffen Schwigon
    login: sschwigo
    password: verysecret

# -------------------- topics

- schema: Topic
  name: software
  data:
    name: Software
    description: any non-kernel software, e.g., libraries, programs


# -------------------- preconditions

- schema: Precondition
  name: autoinstall
  data:
    id: 101
    shortname: auto_auto
    precondition: |
      ---
      precondition_type: autoinstall
      timeout: 10800
      filename: suse/SLES10SP3_x86_64.lst

- schema: Precondition
  name: Config for autoinstall
  data:
    id: 102
    shortname: auto_prc
    precondition: |
      ---
      precondition_type: testprogram
      runtime: 30
      program: /bin/uname_tap.sh
      timeout: 90

# -------------------- "autoinstall"

- schema: TestrunPrecondition
  name: First precondition for autoinstall
  data:
    testrun_id: 100
    precondition_id: 101
    succession: 1

- schema: TestrunPrecondition
  name: Second precondition for autoinstall
  data:
    testrun_id: 100
    precondition_id: 102
    succession: 2

# ==================== "scheduling"

# -------------------- "queues"

- schema: Queue
  name: Xen Queue
  data:
    id: 1
    name: Xen
    priority: 300
    active: 1


- schema: Queue
  name: KVM Queue
  data:
    id: 2
    name: KVM
    priority: 200
    active: 1

- schema: Queue
  name: Kernel Queue
  data:
    id: 3
    name: Kernel
    priority: 10
    active: 1

# -------------------- "test requests" (Testruns)

# ======================= Xen requests =========================

# ======================= Kernel requests =========================

# --- ccc ---

- schema: Testrun
  name: ccc-kernel
  data:
    id: 3001
    owner_id: 12
    shortname: ccc-kernel
    notes: ccc
    topic_name: old_topic

- schema: TestrunScheduling
  name: Kernel-ccc
  data:
    id: 301
    testrun_id: 3001            # ccc
    queue_id: 3                 # Kernel
    auto_rerun: 1
    status: schedule

# --- ccc2 ---

- schema: Testrun
  name: ccc2-kernel
  data:
    id: 3002
    owner_id: 12
    shortname: ccc2-kernel
    notes: ccc2
    topic_name: old_topic

- schema: TestrunScheduling
  name: Kernel-ccc2
  data:
    id: 302
    testrun_id: 3002            # ccc2
    queue_id: 3                 # Kernel
    status: schedule


# -------------------- hosts --------------------

- schema: Host
  name: iring
  data:
    id: 5
    name: iring
    free: 1
    active: 1

- schema: Host
  name: bullock
  data:
    id: 6
    name: bullock
    free: 1
    active: 1

- schema: Host
  name: dickstone
  data:
    id: 7
    name: dickstone
    free: 1
    active: 0

# -------------------- "Host Yaron queuebound to KVM"

- schema: QueueHost
  name: YaronKVM
  data:
    queue_id: 2
    host_id: 10



# -------------------- "preconditions for scheduled tests 1"

- schema: TestrunPrecondition
  name: 1st precondition for perfmon
  data:
    testrun_id: 3001
    precondition_id: 8
    succession: 1

- schema: TestrunPrecondition
  name: 1st precondition for perfmon
  data:
    testrun_id: 3001
    precondition_id: 6
    succession: 2

- schema: TestrunPrecondition
  name: 2nd preconditions for perfmon
  data:
    testrun_id: 3001
    precondition_id: 7
    succession: 3


# -------------------- "preconditions for scheduled tests 2"

- schema: TestrunPrecondition
  name: 1st precondition for perfmon
  data:
    testrun_id: 3002
    precondition_id: 8
    succession: 1

- schema: TestrunPrecondition
  name: 1st precondition for perfmon
  data:
    testrun_id: 3002
    precondition_id: 5
    succession: 2


# -------------------- Testrequest with requested host bound to queue

- schema: Testrun
  name: bound-kernel
  data:
    id: 3010
    owner_id: 12
    shortname: bound-kernel
    notes: bound
    topic_name: old_topic

- schema: TestrunRequestedHost
  name: bound-yaron
  data:
    id: 310
    testrun_id: 3010            # bound-kernel
    host_id: 10                 # yaron

- schema: TestrunScheduling
  name: Kernel-bound
  data:
    id: 310
    testrun_id: 3010            # ccc
    queue_id: 3                 # Kernel
    auto_rerun: 1
    status: prepare

# ---------------- HostFeature ------------

- schema: HostFeature
  name: dickstone_ram
  data:
    id: 1
    host_id: 7
    entry: mem
    value: 4096

- schema: HostFeature
  name: dickstone_vendor
  data:
    id: 2
    host_id: 7
    entry: vendor
    value: AMD

- schema: HostFeature
  name: dickstone_cores
  data:
    id: 3
    host_id: 7
    entry: cores
    value: 2

- schema: HostFeature
  name: dickstone_ram
  data:
    id: 4
    host_id: 7
    entry: keyword
    value: server

- schema: HostFeature
  name: iring_ram
  data:
    id: 5
    host_id: 5
    entry: mem
    value: 8192

- schema: HostFeature
  name: iring_vendor
  data:
    id: 6
    host_id: 5
    entry: vendor
    value: Intel

- schema: HostFeature
  name: iring_cores
  data:
    id: 7
    host_id: 5
    entry: cores
    value: 1

- schema: HostFeature
  name: iring_ram
  data:
    id: 8
    host_id: 5
    entry: keyword
    value: testmachine