skip to main content
research-article
Open Access

Using schedulers to test probabilistic distributed systems

Authors Info & Claims
Published:01 July 2012Publication History
Skip Abstract Section

Abstract

Abstract

Formal methods are one of the most important approaches to increasing the confidence in the correctness of software systems. A formal specification can be used as an oracle in testing since one can determine whether an observed behaviour is allowed by the specification. This is an important feature of formal testing: behaviours of the system observed in testing are compared with the specification and ideally this comparison is automated. In this paper we study a formal testing framework to deal with systems that interact with their environment at physically distributed interfaces, called ports, and where choices between different possibilities are probabilistically quantified. Building on previous work, we introduce two families of schedulers to resolve nondeterministic choices among different actions of the system. The first type of schedulers, which we call global schedulers, resolves nondeterministic choices by representing the environment as a single global scheduler. The second type, which we call localised schedulers, models the environment as a set of schedulers with there being one scheduler for each port. We formally define the application of schedulers to systems and provide and study different implementation relations in this setting.

References

  1. AB00 Aldini A, Bravetti M (2000) An asynchronous calculus for generative-reactive probalistic systems. In: 8th process algebras and performance modelling workshop, PAPM’00. Carleton Scientific, pp 591–606Google ScholarGoogle Scholar
  2. AO08 Ammann POffutt JIntroduction to software testing2008CambridgeCambridge University Press1154.6804210.1017/CBO9780511809163Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. BA03 Bravetti MAldini ADiscrete time generative-reactive probabilistic processes with different advancing speedsTheor Comput Sci2003290135540619356951018.6805110.1016/S0304-3975(01)00344-9Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. BAL97 Ben-Abdallah H, Leue S (1997) Syntactic detection of process divergence and non-local choice in Message Sequence Charts. In: 3rd international workshop on tools and algorithms for construction and analysis of systems, TACAS’97, LNCS, vol 1217. Springer, Berlin, pp 259–274Google ScholarGoogle Scholar
  5. BHT98 Brinksma E, Heerink L, Tretmans J (1998) Factorized test generation for multi-input/output transition systems. In: 11th IFIP workshop on testing of communicating systems, IWTCS’98. Kluwer, Dordrecht, pp 67–82Google ScholarGoogle Scholar
  6. BU91 Boyd SCUral HThe synchronization problem in protocol testing and its complexityInf Process Lett199140313113611439100745.6802410.1016/0020-0190(91)90166-FGoogle ScholarGoogle ScholarDigital LibraryDigital Library
  7. CDSY99 Cleaveland RDayar ZSmolka SAYuen STesting preorders for probabilistic processesInf Comput199915429314817218481045.6856410.1006/inco.1999.2808Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Chr90 Christoff I (1990) Testing equivalences and fully abstract models for probabilistic processes. In: 1st international conference on concurrency theory, CONCUR’90, LNCS, vol 458. Springer, Berlin, pp 126–140Google ScholarGoogle Scholar
  9. CLSV06 Cheung LLynch NSegala RVaandrager FSwitched PIOA: parallel composition via distributed schedulingTheor Comput Sci20063651–28310822676421118.6803810.1016/j.tcs.2006.07.033Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. CR99 Cacciari LRafiq OControllability and observability in distributed testingInf Softw Technol19994111–1276778010.1016/S0950-5849(99)00036-1Google ScholarGoogle ScholarCross RefCross Ref
  11. CSV07 Cheung L, Stoelinga M, Vaandrager F (2007) A testing scenario for probabilistic processes. J ACM 54(6):Article 29Google ScholarGoogle Scholar
  12. DB85 Dssouli R, von Bochmann G (1985) Error detection with multiple observers. In: 5th WG6.1 international conference on protocol specification, testing and Verification, PSTV’85. North-Holland, Amsterdam, pp 483–494Google ScholarGoogle Scholar
  13. DB86 Dssouli R, von Bochmann G (1986) Conformance testing with multiple observers. In: 6th WG6.1 international conference on protocol specification, testing and verification, PSTV’86. North-Holland, Amsterdam, pp 217–229Google ScholarGoogle Scholar
  14. DGH+07 Deng Y, van Glabbeek R, Hennessy M, Morgan C, Zhang C (2007) Characterising testing preorders for finite probabilistic processes. In: 22nd Annual IEEE symposium on logic in computer science, LICS’07. IEEE Computer Society, pp 313–325Google ScholarGoogle Scholar
  15. DGHM08 Deng Y, van Glabbeek R, Hennessy M, Morgan C (2008) Characterising testing preorders for finite probabilistic processes. Logical Methods Comput Sci 4(4)Google ScholarGoogle Scholar
  16. DGHM09 Deng Y, van Glabbeek R, Hennessy M, Morgan C (2009) Testing finitary probabilistic processes. In: 20th international conference on concurrency theory, CONCUR’09, LNCS 5710. Springer, Berlin, pp 274–288Google ScholarGoogle Scholar
  17. DGHM11 Deng Y, van Glabbeek R, Hennessy M, Morgan C (2011) Real-reward testing for probabilistic processes (extended abstract). In: 9th workshop on quantitative aspects of programming languages, QAPL’11, EPTCS 57, pp 61–73Google ScholarGoogle Scholar
  18. Gau95 Gaudel M-C (1995) Testing can be formal, too! In: 6th International joint conference CAAP/FASE, Theory and Practice of Software Development, TAPSOFT’95, LNCS, vol 915. Springer, Berlin, pp 82–96Google ScholarGoogle Scholar
  19. GD09 Giro S, D’Argenio PR (2009) On the expressive power of schedulers in distributed probabilistic systems. In: 7th Workshop on quantitative aspects of programming languages, QAPL’09. Electron Notes Theor Comput Sci 253(3):45–71Google ScholarGoogle Scholar
  20. GGSV02 Grieskamp W, Gurevich Y, Schulte W, Veanes M (2002) Generating finite state machines from abstract state machines. In: ACM SIGSOFT symposium on software testing and analysis, ISSTA’02. ACM Press, New York, pp 112–122Google ScholarGoogle Scholar
  21. GKSB11 Grieskamp WKicillof NStobie KBraberman VModel-based quality assurance of protocol documentation: tools and methodologySoftw Test Verif Reliab2011211557110.1002/stvr.427Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. GSS95 van Glabbeek RSmolka SASteffen BReactive, generative and stratified models of probabilistic processesInf Comput1995121159800832.6804210.1006/inco.1995.1123Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. HBB+09 Hierons RM, Bogdanov K, Bowen JP, Cleaveland R, Derrick J, Dick J, Gheorghe M, Harman M, Kapoor K, Krause P, Luettgen G, Simons AJH, Vilkomir S, Woodward MR, Zedan H (2009) Using formal methods to support testing. ACM Comput Surv 41(2)Google ScholarGoogle Scholar
  24. HBH08 Hierons RM, Bowen JP, Harman M (eds) (2008) Formal methods and testing. In: LNCS, vol 4949. Springer, BerlinGoogle ScholarGoogle Scholar
  25. Hie12 Hierons RMOvercoming controllability problems in distributed testing from an input output transition systemDistrib Comput2012251638110.1007/s00446-011-0153-5Google ScholarGoogle ScholarCross RefCross Ref
  26. HM09 Hierons RMMerayo MGMutation testing from probabilistic and stochastic finite state machinesJ Syst Softw200982111804181810.1016/j.jss.2009.06.030Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. HMN08a Hierons RM, Merayo MG, Núñez M (2008) Controllable test cases for the distributed test architecture. In: 6th International symposium on automated technology for verification and analysis, ATVA’08. LNCS, vol 5311. Springer, Berlin, pp 201–215Google ScholarGoogle Scholar
  28. HMN08b Hierons RM, Merayo MG, Núñez M (2008) Implementation relations for the distributed test architecture. In: Joint 20th IFIP TC6/WG6.1 international conference on testing of software and communicating systems, TestCom’08, and 8th international workshop on formal approaches to software testing, FATES’08. LNCS, vol 5047. Springer, Berlin, pp 200–215Google ScholarGoogle Scholar
  29. HMN12 Hierons RMMerayo MGNúñez MImplementation relations and test generation for systems with distributed interfacesDistrib Comput2012251356210.1007/s00446-011-0149-1Google ScholarGoogle ScholarCross RefCross Ref
  30. HN10 Hierons RM, Núñez M (2010) Testing probabilistic distributed systems. In: IFIP 30th international conference on formal techniques for distributed systems, FMOODS/FORTE’10. LNCS, vol 6117. Springer, Berlin, pp 63–77Google ScholarGoogle Scholar
  31. HU08 Hierons RMUral HThe effect of the distributed test architecture on the power of testingComput J200851449751010.1093/comjnl/bxm096Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. JJKV98 Jard C, Jéron T, Kahlouche H, Viho C (1998) Towards automatic distribution of testers for distributed conformance testing. In: TC6 WG6.1 joint international conference on formal description techniques and protocol specification, testing and verification, FORTE’98. Kluwer, Dordrecht, pp 353–368Google ScholarGoogle Scholar
  33. LDB93 Luo G, Dssouli R, von Bochmann G (1993) Generating synchronizable test sequences based on finite state machine with distributed ports. In: 6th IFIP workshop on protocol test systems, IWPTS’93. North-Holland, Amsterdam, pp 139–153Google ScholarGoogle Scholar
  34. LNR06 López NNúñez MRodríguez ISpecification, testing and implementation relations for symbolic-probabilistic systemsTheor Comput Sci20063531–32282481088.6802110.1016/j.tcs.2005.10.047Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. LS91 Larsen KSkou ABisimulation through probabilistic testingInf Comput199194112811231530756.6803510.1016/0890-5401(91)90030-6Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. LV95 Lynch NAVaandrager FWForward and backward simulations I: untimed systemsInf Comput1995121221423313485280834.6812310.1006/inco.1995.1134Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. MMS96 Morgan CMcIver ASeidel KProbabilistic predicate transformersACM Trans Program Lang Syst199618332535310.1145/229542.229547Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. MMSS96 Morgan CMcIver ASeidel KSanders JWRefinement-oriented probability for CSPFormal Aspects Comput1996866176470862.6805010.1007/BF01213492Google ScholarGoogle ScholarDigital LibraryDigital Library
  39. Mor88 Morgan CThe specification statementACM Trans Program Lang Syst19881034034190825.6830210.1145/44501.44503Google ScholarGoogle ScholarDigital LibraryDigital Library
  40. Mor90 Morgan CProgramming from specifications1990Englewood CliffsPrentice Hall0697.68018Google ScholarGoogle ScholarDigital LibraryDigital Library
  41. Mye04 Myers GJThe art of software testing20042New YorkWileyGoogle ScholarGoogle ScholarDigital LibraryDigital Library
  42. Núñ03 Núñez MAlgebraic theory of probabilistic processesJ Logic Algebraic Program2003561–21171771048.6805710.1016/S1567-8326(02)00069-3Google ScholarGoogle ScholarCross RefCross Ref
  43. RC03 Rafiq OCacciari LCoordination algorithm for distributed testingJ Supercomput20032422032111033.6801110.1023/A:1021759127956Google ScholarGoogle ScholarDigital LibraryDigital Library
  44. SB84 Sarikaya Bvon Bochmann GSynchronization and specification issues in protocol testingIEEE Trans Commun19843238939510.1109/TCOM.1984.1096074Google ScholarGoogle ScholarCross RefCross Ref
  45. Seg95 Segala R (1995) A compositional trace-based semantics for probabilistic automata. In: 6th international conference on concurrency theory, CONCUR’95, LNCS, vol 962. Springer, Berlin, pp 234–248.Google ScholarGoogle Scholar
  46. Seg96 Segala R (1996) Testing probabilistic automata. In: 7th international conference on concurrency theory, CONCUR’96. LNCS, vol 1119. Springer, Berlin, pp 299–314Google ScholarGoogle Scholar
  47. Seg97 Segala RQuiescence, fairness, testing, and the notion of implementationInf Comput1997138219421014793220889.6805710.1006/inco.1997.2652Google ScholarGoogle ScholarDigital LibraryDigital Library
  48. SL95 Segala RLynch NProbabilistic simulations for probabilistic processesNordic J Comput19952225027313460620839.68067Google ScholarGoogle ScholarDigital LibraryDigital Library
  49. Tre08 Tretmans J (2008) Model based testing with labelled transition systems. In: Formal methods and testing. LNCS, vol 4949. Springer, Berlin, pp 1–38Google ScholarGoogle Scholar
  50. UW03 Ural HWhittier DDistributed testing without encountering controllability and observability problemsInf Process Lett200388313314120063571178.6809010.1016/S0020-0190(03)00364-8Google ScholarGoogle ScholarDigital LibraryDigital Library
  51. WSS97 Wu S-HSmolka SAStark EWComposition and behaviors of probabilistic I/O automataTheor Comput Sci19971761–213714486390903.6812310.1016/S0304-3975(97)00056-XGoogle ScholarGoogle ScholarDigital LibraryDigital Library
  52. YL92 Yi W, Larsen KG (1992) Testing probabilistic and nondeterministic processes. In: 12th IFIP/WG6.1 international symposium on protocol specification, testing and verification, PSTV’92. North Holland, Amsterdam, pp 47–61Google ScholarGoogle Scholar

Index Terms

  1. Using schedulers to test probabilistic distributed systems
          Index terms have been assigned to the content through auto-classification.

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader