講演名 2014/2/20
serverspec:宣言的記述でサーバの状態をテスト可能な汎用性の高いテストフレームワーク(サーバシステム,インターネットと情報倫理教育,一般)
宮下 剛輔, 栗林 健太郎, 松本 亮介,
PDFダウンロードページ PDFダウンロードページへ
抄録(和) システムの大規模・複雑化に伴い,サーバの構築・運用を効率化するために,サーバの状態をコードで記述する手法が数多く提供されている.それらの手法を効率良く扱うプロセスとして,テスト駆動開発の手法をサーバ構築に応用したTest-Driven Infrastructureが提案されている.このプロセスを支援するテストフレームワークもいくつか登場しているが,あるものは特定の構成管理ツールに依存,またあるものはOS毎の違いを自ら吸収しなければならないなど,汎用性に難がある.そこで,本論文では,特定の構成管理ツールやOSに依存することなく,サーバの状態を汎用的かつ可読性の高いコードでテスト可能なテストフレームワークを提案する.提案手法では,汎用性を高めるために,これまでのOSや構成管理ツール固有の振る舞いを整理して一般化し,運用業務で発生するコマンド群,特に確認作業に関するコマンド群を体系化・抽象化した汎用コマンド実行フレームワークを定義する.続いて,テストコード記述の抽象度を高め可読性を上げるために宣言的かつ自然言語に近い記法で汎用コマンド実行フレームワークを操作できる制御テストフレームワークを定義する.これにより,管理者がOSや構成管理ツールの違いを気にすることなくサーバの状態を容易にテストできるようになり,サーバの運用・管理コストを低減できる.また,フレームワークを用途別に分離して定義することにより,制御テストフレームワークを独自の記述に変更する事も容易である.提案するテストフレームワークをserverspecと名付けた.
抄録(英) As the increase of large and complex systems, many ways to describe states of servers as code are supplied. As the effective process to handle these ways, Test-Driven Infrastructure is proposed. It is the application of Test-Driven Development to the server configuration. Several test frameworks that support this process are appearing, but they have difficulty in vesatility because some frameworks depend on specific configuration management tools and others need the consideration of differences between OSes to write test code. In this paper, we propose a test framework that doesn't depend on specific configuration management tools or OSes for testing states of servers by versatile and readable code. In our proposal, we arrange and generalize the behavior of OSes and configuration management tools and define the versatile command execution framework for increasing the versatility. Next, we define the test framework that control the command execution framework by declarative and natural language like description to increase the level of abstraction and readability. By this test framework, system administrators can test states of servers easily without considering the diffrences between OSes or configuration management tools, and can decrease the costs of server operations. Also by defining the frameworks separated into purposes, we can replace the control test framework with another one that have original notation easily. We named the proposed test framework serverspec.
キーワード(和)
キーワード(英)
資料番号 Vol.2014-IOT-24 No.15
発行日

研究会情報
研究会 IA
開催期間 2014/2/20(から1日開催)
開催地(和)
開催地(英)
テーマ(和)
テーマ(英)
委員長氏名(和)
委員長氏名(英)
副委員長氏名(和)
副委員長氏名(英)
幹事氏名(和)
幹事氏名(英)
幹事補佐氏名(和)
幹事補佐氏名(英)

講演論文情報詳細
申込み研究会 Internet Architecture(IA)
本文の言語 JPN
タイトル(和) serverspec:宣言的記述でサーバの状態をテスト可能な汎用性の高いテストフレームワーク(サーバシステム,インターネットと情報倫理教育,一般)
サブタイトル(和)
タイトル(英) serverspec:A Versatile Test Framework for Testing States of Servers by Delarative Description
サブタイトル(和)
キーワード(1)(和/英)
第 1 著者 氏名(和/英) 宮下 剛輔 / GOSUKE MIYASHITA
第 1 著者 所属(和/英) 株式会社paperboy&co.:帝京大学理工学部
paperboy&co., Inc.:Faculty of SCIENCE and ENGINEERING, Teikyo University
第 2 著者 氏名(和/英) 栗林 健太郎 / KENTARO KURIBAYASHI
第 2 著者 所属(和/英) 株式会社paperboy&co.
paperboy&co., Inc.
第 3 著者 氏名(和/英) 松本 亮介 / RYOSUKE MATSUMOTO
第 3 著者 所属(和/英) 京都大学情報科学研究科
Graduates School of Infromatics, Kyoto University
発表年月日 2014/2/20
資料番号 Vol.2014-IOT-24 No.15
巻番号(vol) vol.113
号番号(no) 443
ページ範囲 pp.-
ページ数 6
発行日