Etesting

Estuary Testing


  • 分类

  • 标签

  • 归档

  • 关于

  • 搜索
close
Etesting

Branches of test-definitions repository

发表于 2017-02-09 | 分类于 Misc |

本文主要讲述Estuary测试用例仓库test-definitions的分支用途以及日常维护操作。

克隆仓库

test-definitions 当前仓库地址为: https://github.com/jarsonfang/test-definitions.git。(后面将迁移至open-estuary组织下面)

1
2
3
4
5
$ git clone https://github.com/jarsonfang/test-definitions.git
$ cd test-definitions/
$ git remote -v
origin https://github.com/jarsonfang/test-definitions.git (fetch)
origin https://github.com/jarsonfang/test-definitions.git (push)

阅读全文 »
Etesting

Deploy/Upgrade Estuary OS with iso file by BMC-website

发表于 2017-01-18 | 分类于 Estuary , Documents |

Author: Tian Jiaoling

Preparation work

The doc is applied for deploying the target board for Estuary OS with iso file or upgrading any release version of Estuary OS with iso file.

  1. The iso file the doc mentioned can be accessed by the Downloading website.
    Accessing from China: ftp://117.78.41.188
    Accessing from outside-China: http://download.open-estuary.org/

  2. Please make sure you have connected two or more disks to target board if you want to install two or more distributions.

  3. For EOL1 (Open Lab 1), we provide to visit the board’s BMC IP both locally and remotely.

    If you are in the same network segment with boards deployed in EOL1, you can visit the board’s BMC IP:

    1
    https://192.168.1.<boardno>

    If you want to visit board’s BMC IP remotely, please input the following command in browser: https://htsat.vicp.cc: <port><boardno>, the <port> is set to “40” by default.
    e.g.

    1
    https://htsat.vicp.cc:40135
  4. For EOL2 (Open Lab 2), we only provide to visit the board’s BMC IP remotely.

    BMC IP is set to:

    1
    https://114.119.4.74:<port><boardno>

    The <port> is set to “8” by default. For example, if you want to visit board 135’s BMC IP which located in EOL2, please input https:114.119.4.74:8135 in your browser.

  5. For the boards sent out, the BMC IP website is https://192.168.2.100 by default.

阅读全文 »
Etesting

Deploy/Upgrade Estuary OS with USB

发表于 2017-01-18 | 分类于 Estuary , Documents |

Author: Tian Jiaoling

Preparation work

The doc is applied for deploying the target board with Estuary OS by USB disk or upgrading any release version of Estuary OS by USB disk.

We will introduce two methods to make USB install disk, one is to make during building Estuary open souce code, the other is making install disk with a script name mkdeploydisk.sh.

  1. Please prepare a USB disk with 32G capacity.

  2. Prepare a ubuntu pc.

  3. Download and build Estuary souce code: http://open-estuary.org/getting-started/

    阅读全文 »
Etesting

Armor test

发表于 2017-01-18 | 分类于 Estuary , Documents |

Author: Ma Hongxin

测试命令

登录目标系统,进入/usr/local/armor/test_scripts目录并执行auto_test_armot_tool.sh脚本:

1
2
3
cd /usr/local/armor/test_scripts
chmod +x auto_test_armor_tool.sh
./auto_test_armor_tool.sh > armor_test.log 2>&1

auto_test_armor_tool.sh脚本执行的 标准输出 与 标准错误 信息将重定向到armor_test.log文件。

测试结果分析

  1. 查询未安装的armor工具

    1
    grep "not found" armor_test.log
  2. 查询测试失败的armor工具

    1
    grep "failed" armor_test.log
阅读全文 »
Etesting

KVM

发表于 2017-01-16 | 分类于 Estuary , Documents |

Author: Zhao Shijie

Profile

KVM and QEMU profiles, please refer to:
qemu : https://zh.wikipedia.org/wiki/QEMU
kvm : https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine

阅读全文 »
Etesting

How to mirror a CentOS source repo

发表于 2017-01-12 | 分类于 Misc |

rsync.sh

使用rsync.sh脚本进行源同步

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# New AltArch mirror [US]
# HTTP: http://ftp.osuosl.org/pub/centos-altarch/
# http://centos-altarch.osuosl.org/
# FTP: ftp://ftp.osuosl.org/pub/centos-altarch
# RSYNC: rsync://rsync.osuosl.org/centos-altarch
usage()
{
echo "$0: <os_version>"
exit 0
}
if [ $# -lt 1 ]; then
usage
fi
os_version=$1
rsync -av --delete rsync://rsync.osuosl.org/centos-altarch/${os_version} ./

注:如果使用不同的软件源地址,则相应替换脚本中的软件源地址。

阅读全文 »
Etesting

lxc for centos

发表于 2017-01-12 | 分类于 Estuary , Documents |

Installation

  1. centos下下载lxc源码

    1
    git clone git://github.com/lxc/lxc -b master
  2. 安装依赖的包

    1
    yum install bridge-utils libcap-devel libtool cloud-utils -y
  3. 运行README文档中提示的脚本进行编译安装

    1
    ./autogen.sh && ./configure && make && sudo make install
  4. 安装完成后使用lxc-checkconfig查看内核丢失了哪些选项,使用make menuconfig打开丢失的项, 编译完成后替换原来的image,然后再用lxc-checkconfig验证

阅读全文 »
Etesting

Deploy_Manual.overdrive

发表于 2017-01-11 | 分类于 Estuary , Documents |
  • Introduction
  • Preparation
    • Prerequisite
    • Check the hardware board
    • Upgrade UEFI and trust firmware
  • Bring up System via ACPI mode
    • Boot via PXE(ACPI)
    • Boot via NFS(ACPI)
    • Boot via DISK(SAS/SATA)(ACPI)
阅读全文 »
Etesting

Redis

发表于 2016-12-30 | 分类于 Estuary , Documents |

Server side:

  • Download scripts:

    1
    2
    git clone https://github.com/sjtuhjh/applications
    cd applications/apps/redis/redis_test1
  • Init:

    1
    ./setup.sh server
  • Run:

    1
    ./run_server.sh

Client side:

  • Download:

    1
    2
    git clone https://github.com/sjtuhjh/applications
    cd applications/apps/redis/redis_test1
  • Init:

    1
    ./setup.sh client
  • Run:

    1
    ./run_test.sh
Etesting

Nginx

发表于 2016-12-30 | 分类于 Estuary , Documents |

Source code:
Openlab:192.168.1.101:/home.chenzhihui/All-tes/nginx
Build:

1
./nginx-install.sh

Server side:

  • Run:
    1
    2
    ./start.sh # start server
    ./stop.sh # stop

Client side:

  • Run:
    1
    ./run.sh
12…8
Estuary

Estuary

Testing cases

73 日志
7 分类
16 标签
GitHub Estuary.org Estuary.github
Creative Commons
Links
  • ABS
  • ProGit
  • Hexo
  • NexT
  • Mastering-Markdown
  • Markdown-Style-Guide
© 2016 - 2017 Estuary
由 Hexo 强力驱动
主题 - NexT.Mist