Advertisement

Controlling Cloud-Based Systems for Elasticity Test Reproduction

  • Michel Albonico
  • Jean-Marie Mottu
  • Gerson Sunyé
  • Frederico Alvares
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 864)

Abstract

Systems deployed on elastic infrastructures deal with resource variations by adapting themselves, which is error-prone. Therefore, we must test Cloud-Based Systems (CBS) throughout elasticity. Such tests may be re-executed regularly to diagnose and fix CBS bugs, which requires to design tests to execute in a deterministic manner. In this paper, we identify three main challenges that testers face when reproducing elasticity tests: to control the elasticity behaviour, to select specific resources to be deallocated, and to coordinate events parallel to elasticity. Since elasticity tests can last long, we consider the test execution time as a secondary challenge. In this paper, we propose an approach that meets such challenges. Experimental results show that the proposed approach successfully reproduces elasticity-related bugs that face the listed challenges while reducing the execution time.

Keywords

Cloud computing Elasticity Elasticity testing Test reproduction Speediness 

References

  1. 1.
    Herbst, N.R., Kounev, S., Reussner, R.: Elasticity in Cloud Computing: what it is, and what it is not. In: ICAC (2013)Google Scholar
  2. 2.
    Bersani, M.M., Bianculli, D., Dustdar, S., Gambi, A., Ghezzi, C., Krstić, S.: Towards the formalization of properties of Cloud-based elastic systems. In: Proceedings of PESOS 2014, New York, NY, USA. ACM (2014)Google Scholar
  3. 3.
    Engstrom, E., Runeson, P., Skoglund, M.: A systematic review on regression test selection techniques. Inf. Softw. Technol. 52, 14–30 (2010)CrossRefGoogle Scholar
  4. 4.
    Mongodb bug 7974: Suppress stack trace on replication errors. (https://jira.mongodb.org/browse/SERVER-7974). Accessed 29 May 2017
  5. 5.
    Zookeeper bug 2164: Fast leader election keeps failing. (https://issues.apache.org/jira/browse/ZOOKEEPER-2164). Accessed 08 Feb 2017
  6. 6.
    Albonico, M., Mottu, J.M., Sunyé, G., Alvares, F.: Making Cloud-based systems elasticity testing reproducible. In: Proceedings of the 7th International Conference on Cloud Computing and Services Science, CLOSER 2017, pp. 495–502, Porto, Portugal, 24–26 April 2017Google Scholar
  7. 7.
    Albonico, M., Mottu, J.M., Sunyé, G.: Controlling the elasticity of web applications on Cloud Computing. In: Proceedings of the 31st SAC. ACM (2016)Google Scholar
  8. 8.
    Gambi, A., Hummer, W., Truong, H.L., Dustdar, S.: Testing elastic computing systems. IEEE Internet Comput. 17, 76–82 (2013)CrossRefGoogle Scholar
  9. 9.
    Cooper, B.F., Silberstein, A., Tam, E., Ramakrishnan, R., Sears, R.: Benchmarking Cloud serving systems with YCSB. In: Proceedings of SoCC 2010, New York, NY, USA. ACM (2010)Google Scholar
  10. 10.
    Hunt, P., Konar, M., Junqueira, F.P., Reed, B.: Zookeeper: wait-free coordination for internet-scale systems. In: 2010 USENIX, Boston, MA, USA (2010)Google Scholar
  11. 11.
    Gamma, E., Beck, K.: Junit: a cook’s tour. Java report (1999)Google Scholar
  12. 12.
    Gambi, A., Hummer, W., Dustdar, S.: 2013 28th IEEE/ACM International Conference on Automated Software Engineering (ASE). IEEE (2013)Google Scholar
  13. 13.
    Banzai, T., Koizumi, H., Kanbayashi, R., Imada, T., Hanawa, T., Sato, M.: D-Cloud: design of a software testing environment for reliable distributed systems using cloud computing technology. In: Proceedings of CCGRID 2010, Washington, USA (2010)Google Scholar
  14. 14.
    Yin, L., Zeng, J., Liu, F., Li, B.: CTPV: a Cloud testing platform based on virtualization. In: The Proceedings of SOSE 2013 (2013)Google Scholar
  15. 15.
    Vasar, M., Srirama, S.N., Dumas, M.: Framework for monitoring and testing web application scalability on the Cloud. In: Proceedings of WICSA/ECSA Companion, NY, USA (2012)Google Scholar
  16. 16.
    Li, K., Joshi, P., Gupta, A., Ganai, M.K.: ReproLite: a lightweight tool to quickly reproduce hard system bugs. In: Proceedings of SOCC 2014, New York, NY, USA (2014)Google Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Michel Albonico
    • 1
  • Jean-Marie Mottu
    • 2
  • Gerson Sunyé
    • 2
  • Frederico Alvares
    • 3
  1. 1.Federal University of Technology - ParanáFrancisco BeltrãoBrazil
  2. 2.Inria/IMT-Atlantique/LS2N, AtlanModelsNantesFrance
  3. 3.Inria/IMT-Atlantique/LS2N, Ascola TeamsNantesFrance

Personalised recommendations