• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

01org / ciao
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Repo Added 02 May 2016 05:11PM UTC
Files 0
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH migration
branch: migration
CHANGE BRANCH
x
Reset
  • migration
  • 1
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 20161106-generic-ciao-vendor
  • 20161109-add-summary-exception
  • 20161109-contributing-tweaks
  • 20161109-remove-ds-store
  • 20170713-create
  • 20170713-get-memory-info-error
  • 20170713-help-first
  • 20170713-memory-in-mib
  • 20170718-ciao-down-trivial
  • 20170719-ciao-down-vmtype-removal
  • 20170719-nested-vm-config
  • 20170720-2-documents-state-file
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 3
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 4
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 5
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 6
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 7
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 8
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 9
  • add-more-linters
  • add_contribution_readme
  • ansible
  • ansible-bat-improvements
  • ansible_readme_update
  • bat
  • btwarden/topic/add-keystone-to-single-vm
  • btwarden/topic/orientation
  • btwarden/topic/update_deployment_documentation
  • ceph
  • ceph-bat-testing
  • ceph-image-size
  • cert-signer-rename
  • cert-standard-fix
  • cert_docu
  • certificates
  • ciao-authentication
  • ciao-cert-dump
  • ciao-cert-refactor
  • ciao-cli
  • ciao-cli-image-optimisation
  • ciao-cli-node-fix
  • ciao-controller
  • ciao-controller-unused-removal
  • ciao-deploy
  • ciao-deploy-latest-20170802
  • ciao-dev
  • ciao-down-cache
  • ciao-down-fix-9p
  • ciao-down-fixes
  • ciao-down-go19
  • ciao-down-qemu-img
  • ciao-down-run-cmd
  • ciao-down-state
  • ciao-down-timeout
  • ciao-down-update-go
  • ciao-image
  • ciao-image-api
  • ciao-image-immutable
  • ciao-image-quotas-backup
  • ciao-image-small-fixes
  • ciao-master
  • ciao_deploy
  • ciao_down_workloads
  • clean-up-cloud-init
  • cleanup
  • cli_identity_oddity
  • client-cert-authentication
  • cnci
  • cnci-ephemeral-storage
  • cnci_img_prep_race_fix
  • cnci_scripting
  • commentfix
  • conf_file_template_perms
  • config_false_fail_bug
  • config_update
  • configuration_cleanup
  • configuration_cleanup2
  • contrib
  • controller-error-handling-tweaks
  • controller-service-error-logging
  • controller-shutdown
  • controller_fqdn
  • coverage
  • ctl_node_mgmt
  • database
  • datastore-cleanup
  • datastore-cleanups
  • db-population-cleanup
  • defer-quota-reset
  • degophercloudification
  • deployment
  • deployment-2
  • deployment-2-wip-cnci
  • deployment-2-wip-master
  • deswagger
  • docker
  • docker-py
  • docker_deps
  • documentation
  • drop-ansible
  • dual_node
  • enable-race-checks
  • enable-volume-singlevm
  • ephemeral-boot-from-volume
  • error-reporting-improvements-1
  • error-reporting-improvements-2
  • error-reporting-internals
  • external-ip-duplicate
  • external-ip-quota-tracking
  • external_ip
  • fix-1
  • fix-1007
  • fix-1009
  • fix-1027
  • fix-1145
  • fix-1173
  • fix-1191
  • fix-674
  • fix-683
  • fix-724
  • fix-751
  • fix-763
  • fix-872
  • fix-889
  • fix-911
  • fix-953
  • fix-956
  • fix-ansible-docs
  • fix-bat
  • fix-ceph-in-ciao-down
  • fix-ceph-leak
  • fix-ciao-cli
  • fix-client-merge-break
  • fix-dupe-json
  • fix-fedora
  • fix-image-template
  • fix-instance-ordering
  • fix-kubicle
  • fix-kubicle-master
  • fix-launcher-deadlock
  • fix-openstack-block
  • fix-openstack-volume-loop-corruption
  • fix-pool-negative
  • fix-qmp-cancel
  • fix-quotas-cli
  • fix-readme
  • fix-red
  • fix-single-vm
  • fix-ssh
  • fix-ssntp-stringer
  • fix-templates
  • fix-test-compile-errors
  • fix-travis
  • fix-travis-crets
  • fix-travis-issue
  • fix-travis-tip
  • fix-volume-ordering
  • fix-volume-status
  • fix-workload-raciness
  • floating_ip
  • go-1.8-travis
  • golang-1.9
  • golang-1.9-travis
  • gometalinter-use-tagged
  • gophercloud-revendor
  • hide-internal-volumes
  • http-error-fix
  • identity
  • ignore_vimfiles
  • image
  • image-bat
  • image-cleanup
  • image-id-removal
  • image-service-configuration-cleanup
  • image_api
  • images
  • improve-storage-error-logging
  • increase-sqlite-coverage
  • install_from_source
  • instance-cleanup-ephemeral
  • instance-for-external-ip
  • instance-naming
  • issue-563
  • issue-661
  • issue-663
  • issue-905
  • justtesttravis
  • kaccardi/issues/246
  • kaccardi/topic/add-name-description
  • kaccardi/topic/ciao-release
  • kaccardi/topic/ciao-test
  • kaccardi/topic/deploy-ciao
  • kaccardi/topic/fake-keystone
  • kaccardi/topic/storage
  • kaccardi/topic/storage-detach
  • kaccardi/topic/storage-unit-tests
  • kaccardi/topic/travis-deploy
  • keystone
  • kubeadm
  • kubicle-doc
  • kubicle-docs
  • launcher
  • launcher-mibi
  • launcher-testability-tweaks
  • launcher-unmap-mapped
  • lintbat
  • log-depth-fix
  • logging-refactor
  • logs
  • master
  • master_test
  • mcastelino-single-machine
  • mcastelino/topic/cleanup
  • mcastelino/topic/singlemachine
  • memory-backend-transient
  • memory-datastore
  • meta-deadcode
  • minor-pool-fixes
  • minor-singlevm-fixes
  • misc
  • misc-launcher-bugfixes
  • mispel
  • missing_dir
  • move-cnci-defaults
  • networks_scheduling
  • no-start-public-cnci
  • origin/kaccardi/topic/storage
  • osprepare-logger
  • ovmf
  • parse-commands-before-tenant-setup
  • partial-instance-launching
  • persistent-store-cleanup
  • pools-admin-check
  • populate-volume-size
  • prepare
  • qemu-img
  • quota-manager
  • quota-volume-error-reporting
  • quotas-implementation-1
  • quotas-implementation-2
  • quotas-implementation-3
  • race-testing
  • rbradford-fix-1009
  • remove-attachments
  • remove-disk-mb
  • remove-elliptic
  • remove-gophercloud
  • remove-webui
  • remove_distr_configuration
  • restart-cnci
  • resultschan_debug
  • revendor-gorilla
  • revert-1409-use-virtio-rng
  • revert-445-singlevm
  • revert-588-ciao-singlevm-tls
  • run_as_ciao
  • sameo/issue/323
  • sameo/issue/325
  • sameo/issues/136
  • sameo/issues/152
  • sameo/issues/153
  • sameo/issues/166
  • sameo/issues/169
  • sameo/issues/173
  • sameo/issues/183
  • sameo/issues/19
  • sameo/issues/208
  • sameo/issues/59
  • sameo/issues/67
  • sameo/topic/bat
  • sameo/topic/certs
  • sameo/topic/ciao-cli
  • sameo/topic/cinder
  • sameo/topic/configuration
  • sameo/topic/glance
  • sameo/topic/go-fuzz
  • sameo/topic/godoc-badge
  • sameo/topic/misspell-fixes
  • sameo/topic/networking
  • sameo/topic/qemu
  • sameo/topic/release
  • sameo/topic/singlevm
  • sameo/topic/storage
  • sameo/topic/tracing
  • sboeuf/add_qemu_pci_net_device
  • sched_no_nn
  • scratch
  • share-code
  • single-http-server
  • single-oshandler
  • singlemachine
  • singlevm
  • singlevm-launcher-cleanup
  • singlevm-speedup
  • singlevm-spring-clean
  • singlevm-webui
  • skip_ceph
  • snnet-debugging-travis
  • soft-qemu-testing
  • spell-go-code
  • split_compute_and_net_node_mgmt
  • ssntp-cert-csr
  • ssntp-cert-request
  • ssntp_role
  • storage
  • storage-bat-enhancements
  • storage-driver-config
  • storage-ephemeral-fix
  • storage_bat
  • store-images-in-ceph
  • template-autogen-doc
  • templateutils
  • tenant-addition-raciness-fix
  • tenant-name-fix
  • tenant_empty_fix
  • test-cert-files
  • test-cert-generator
  • test-jenkins
  • tfortools
  • topic/add-test-storage-workload
  • topic/allow-overlapping-ips
  • topic/alt-cnci-del
  • topic/api-regex-cleanup
  • topic/api-stub
  • topic/attachments
  • topic/block-api
  • topic/boot-from-volume
  • topic/change-expected-response
  • topic/ciao-cli-revert-tls
  • topic/cnci-cleanup
  • topic/cnci-instance
  • topic/cnci-manager
  • topic/combined-external-ips
  • topic/config-subnet-bits
  • topic/confirm-tenant
  • topic/controller-external-ips
  • topic/create-CopyBlockDevice
  • topic/delete-node-stats
  • topic/delete-workloads
  • topic/enable-block-testing
  • topic/enable-identity-tests
  • topic/enable-os-image-tests
  • topic/etcd
  • topic/external-ip-api
  • topic/external-ips
  • topic/external-ips-persistence
  • topic/fix-compute-port
  • topic/fix-datastore-storage
  • topic/fix-datastore-tests
  • topic/fix-delete-response
  • topic/fix-fake-storage
  • topic/fix-get-tenants-storage
  • topic/fix-image-import
  • topic/fix-image-layering-param
  • topic/fix-single-vm-mkdir
  • topic/fix-singlevm-hostname
  • topic/fix-tenant-out-of-bounds
  • topic/fix-tenant-pools
  • topic/fix-travis
  • topic/fix-update-attachments
  • topic/fix-warning-client
  • topic/fix-workload-validation
  • topic/fixup-cncis
  • topic/flag-parse
  • topic/get-tenant-instance
  • topic/handle-getStorage-error
  • topic/handle-unassign-error
  • topic/ineffassign
  • topic/issue-1158
  • topic/issue-867
  • topic/issue-870
  • topic/issue-871
  • topic/issue-898
  • topic/k8s_setup
  • topic/kaccardi/coveralls
  • topic/kaccardi/release
  • topic/keystone-container-singlevm
  • topic/misspell
  • topic/move-compute
  • topic/new-boot-from-volume
  • topic/node-summary
  • topic/orientation
  • topic/refactor-new-config
  • topic/remove-no-network
  • topic/semaphore-ci-test
  • topic/send-volume-attachments
  • topic/storage-fork
  • topic/storage-pull-request
  • topic/tenant-workloads-wip
  • topic/test-testutils
  • topic/travis-test
  • topic/unit-test-cnci-launch
  • topic/update-attachments-at-delete
  • topic/update-getStorage
  • topic/use-demo-in-singlevm
  • topic/workload-show
  • topic/workloads
  • tpepper-prepare
  • tpepper/topic/unittests
  • travis
  • travis-apt-get-update-fix
  • travis_sched_warning_cleanup
  • unit-test-tweaks
  • unit-testing
  • unittest
  • unittests
  • update-boltdb
  • update-netlink
  • update-sqlite3
  • update-yaml
  • use-routes-for-testing
  • use-virtio-rng
  • v0.5a
  • volume-image-experiment
  • volume-resize
  • wip-cluster-deploy
  • wip-deployment-3
  • workload-defaults-refactor
  • workload-multiple-storage
  • workload-verification-enhancements
  • workload_ssh_key_file_to_var
  • workloads

pending completion
437

push

travis-ci

markdryan
ciao-controller: Remove duplicated code

The code used to set an instance's status to exited and pending
was duplicated in two places.  This commit factorizes that code
into a new function, updateInstanceStatus.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>

14793 of 22529 relevant lines covered (65.66%)

2.12 hits per line

Relevant lines Covered
Build:
Build:
22529 RELEVANT LINES 14793 COVERED LINES
2.12 HITS PER LINE
Source Files on migration
  • List 0
  • Changed 19
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
437 migration ciao-controller: Remove duplicated code The code used to set an instance's status to exited and pending was duplicated in two places. This commit factorizes that code into a new function, updateInstanceStatus. Signed-off-by: Mark Ryan <mark.d.r... push 13 Mar 2017 01:27PM UTC markdryan travis-ci pending completion  
435 migration bat: Add migration tests This commit updates TestStopRestartInstance to include some additional tests and also adds three new BAT tests designed to test instance migration. TestListComputeNodes TestDeleteStoppedInstance TestStartBadWorkload Sig... push 07 Mar 2017 04:57PM UTC markdryan travis-ci pending completion  
433 migration bat: Add migration tests This commit updates TestStopRestartInstance to include some additional tests and also adds three new BAT tests designed to test instance migration. TestListComputeNodes TestDeleteStoppedInstance TestStartBadWorkload Sig... push 06 Mar 2017 06:04PM UTC markdryan travis-ci pending completion  
431 migration bat: Add migration tests This commit updates TestStopRestartInstance to include some additional tests and also adds three new BAT tests designed to test instance migration. TestListComputeNodes TestDeleteStoppedInstance TestStartBadWorkload Sig... push 06 Mar 2017 03:50PM UTC markdryan travis-ci pending completion  
429 migration bat: Add migration tests Signed-off-by: Mark Ryan <mark.d.ryan@intel.com> push 03 Mar 2017 05:18PM UTC markdryan travis-ci pending completion  
426 migration ciao-launcher: Add InstanceStopped support to test utilities This commit updates ciaolc and ciao-launcher-server so that they can be used to test the InstanceStopped event. ciaolc stop will cause an instance to be deleted and the InstanceStopped... push 02 Mar 2017 05:51PM UTC markdryan travis-ci pending completion  
424 migration ciao-controller: Ensure cache is correct after restart There were two errors in datastore.Init that was causing controller to behave incorrectly after a restart. The instances stored in the ds.tenant structure did not point to the instances in t... push 01 Mar 2017 05:54PM UTC markdryan travis-ci pending completion  
423 migration ciao-controller: Implement instance migration This commit adds support for instance migration in controller. It does this my mapping the stop command received from clients to an SSNTP DELETE command and the restart command to an SSNTP start. Th... push 28 Feb 2017 04:15PM UTC markdryan travis-ci pending completion  
413 migration ssntp, payloads, launcher: Add InstanceStopped event This commit adds a new SSNTP event InstanceStopped. This event is sent by launcher when an instance dies of its own accord or is deleted by an SSNTP Delete command whose Migration flag is set ... push 21 Feb 2017 05:52PM UTC markdryan travis-ci pending completion  
400 migration ciao-launcher: Power down instances properly Previously, launcher was quitting the qemu process instantly when stopping and deleting instances. This is no longer acceptable as instances deleted from a compute node might be migrated elsewhere, so... push 14 Feb 2017 06:29PM UTC markdryan travis-ci pending completion  
See All Builds (4535)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc