GithubHelp home page GithubHelp logo

screen's Introduction

SCREEN Test

System and enviroment.

  • HardWare List.
    1, PC with Eth port as Tester.
    2, PC with Eth Port as DHCP Server. you an also use One PC as DHCP sever and also as Tester. below hardware config is based assuming that the DHCP server and Tester are one PC.
    3, Switch.
    4, Eth Cable.

  • Hareware config. you can reference below image Image text

  • [Tester/DHPC SERVER]system

  • [TESTER]system requirements

    • pexpect
      pexpect is requried. due to we need pexpect to connect dhcp server to get dhcp_leases list. you can follow below command to install pexpect
      yum -y install epel-release
      yum -y install python-pip
      pip install --upgrade pip
      pip install pexpect
      yum install OpenIPMI
      yum install ipmitool
      
    • How to setup dhcp server
      in this program we will use dhcp service. so that we can get the test unit ipaddress via mac.
      you can install the dhcp service in test pc or another pc. you can config a dhcp server as below step. first of all make sure you can access the internet. then excute below command. assuming that you are using eth0 as dhcp server port.
      cd ~
      git clone [email protected]:tahyuu/SCREEN.git SCREEN
      cd ~/SCREEN/Install
      ./install_dhcp.sh eth0 192.168.4.2
      
  • How to get the program
    please note that if you already get the program when you install dhcp server. please ignore it.

    git clone [email protected]:tahyuu/SCREEN.git SCREEN
    
  • Config the program.
    you can config the progam via ~/SCREEN/config.ini. for more detail please open ~/SCREEN/config.ini.
    update it as follow in DHCP section.

  [DHCP]
#config the dhcp server ip. if the dhcp server is localhost we will read file from localhost.
##############################################################
# below dhcp config is for zhuhai site
##############################################################
#dhcp_server=            192.168.4.3
#dhcp_leases_root=           "~/dhcpd.leases"
#dhcp_user_name=         dhcp
#dhcp_password=          dhcp
##############################################################
# below dhcp config is for US 
# assuming that the dhcp server is the tester it is self, so config the dhcp_server to localhost.
# assuming that the dhcp user name and password are boot and 123456. please update it according
# assuming dhcpd.leases is in /var/lib/dhcpd/dhcpd.leases
##############################################################
dhcp_server=           localhost
dhcp_leases_root=      /var/lib/dhcpd/dhcpd.leases
dhcp_user_name=        root
dhcp_password=         123456
  • How to run the program

    cd ~/SCREEN
    ./screen.py
    

    after that you need input Serial Number, BMC MAC, Thermal part temp
    the program wil start. for more information you can see the SOP/Cannonball MB thermal sensor screen process instruction_0508.pdf

  • Where is test log.
    you can find test detail log in SCREEN/FTLog/. you can also find the test result summry in SCREEN/data.csv








##################################################################################
below install is prepare for auto 34970A read. not ready now. you can ignore below
##################################################################################

  • How to install NI-VISA
####################
#update kernel
####################
cd /root/SCREEN/Install/rpm_file
yum -y install kernel-lt-4*
yum -y install kernel-lt-devel-4*
####################
#install libstdc++
####################
yum -y install libstdc++
yum -y install glibc.i686
yum -y install libstdc++.i686
####################
#install NI VISA
####################
cd /root/SCREEN/Install
mkdir NI
mount -o loop NI-VISA-17.0.0.iso NI
./INSTALL

screen's People

Contributors

tahyuu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.