21 | | || '''Step''' || '''State''' || '''Date completed''' || '''Open Tickets''' || '''Closed Tickets/Comments''' || |
22 | | || 1 || [[Color(orange,Blocked)]] || || [instaticket:80] || ([instaticket:24]) blocked on availability of Emulab source/object tree on BBN boss || |
23 | | || 2 || [[Color(yellow,Complete)]] || || || ([instaticket:24]) retest on BBN rack to verify availability of Emulab source/object tree || |
24 | | || 3 || [[Color(green,Pass)]] || 2012-11-21 || || || |
25 | | || 4 || [[Color(yellow,Blocked-site)]] || || || blocked on receipt of the BBN rack || |
26 | | || 5 || [[Color(green,Pass)]] || 2012-05-17 || || || |
27 | | || 6 || [[Color(green,Pass)]] || 2013-01-07 || || ([instaticket:25]) verified ability to find Emulab version within Emulab images at BBN || |
28 | | || 7 || [[Color(yellow,Blocked-site)]] || || || blocked on receipt of the BBN rack || |
| 21 | || '''Step''' || '''State''' || '''Date completed''' || '''Open Tickets''' || '''Closed Tickets/Comments''' || |
| 22 | || 1 || [[Color(orange,Blocked)]] || || || ([instaticket:24], [instaticket:80]) blocked on e-mail discussion of source/object tree availability || |
| 23 | || 2 || [[Color(yellow,Complete)]] || || || ([instaticket:24]) retest on BBN rack to verify availability of Emulab source/object tree || |
| 24 | || 3 || [[Color(green,Pass)]] || 2012-11-21 || || || |
| 25 | || 4 || [[Color(yellow,Blocked-site)]] || || || blocked on receipt of the BBN rack || |
| 26 | || 5 || [[Color(green,Pass)]] || 2012-05-17 || || || |
| 27 | || 6 || [[Color(green,Pass)]] || 2013-01-07 || || ([instaticket:25]) verified ability to find Emulab version within Emulab images at BBN || |
| 28 | || 7 || [[Color(yellow,Blocked-site)]] || || || blocked on receipt of the BBN rack || |
683 | | [instaticket:80] covers the question of the locations of the Emulab src/obj trees on the BBN boss node. |
| 683 | === Results of testing step 1: 2013-02-28 === |
| 684 | |
| 685 | [instaticket:80] covers the question of the locations of the Emulab src/obj trees on the BBN boss node: it turns out i was looking at the wrong boss node for much of the previous test, so i'm just going to redo it entirely. |
| 686 | |
| 687 | Testing on `boss.instageni.gpolab.bbn.com`: |
| 688 | |
| 689 | * `sockstat -lL46` is my goto on FreeBSD. Get a full list of all binaries of processes which are listening on IPv4 or IPv6 sockets from non-localhost addresses: |
| 690 | {{{ |
| 691 | boss.instageni.gpolab.bbn.com,[~],07:57(0)$ for pid in $(sockstat -lL46 | awk '{print $3}' | grep -v PID | sort -u); do procstat -b $pid; done | awk '{print $3}' | sort -u |
| 692 | usage: procstat [-h] [-C] [-M core] [-N system] [-w interval] |
| 693 | [-b | -c | -e | -f | -i | -j | -k | -l | -s | -t | -v | -x] [-a | pid ...] |
| 694 | /usr/libexec/sendmail/sendmail |
| 695 | /usr/local/bin/perl |
| 696 | /usr/local/bin/python2.7 |
| 697 | /usr/local/libexec/pubsubd |
| 698 | /usr/local/libexec/tftpd |
| 699 | /usr/local/sbin/dhcpd |
| 700 | /usr/local/sbin/httpd |
| 701 | /usr/sbin/inetd |
| 702 | /usr/sbin/lwresd |
| 703 | /usr/sbin/mountd |
| 704 | /usr/sbin/nfsd |
| 705 | /usr/sbin/ntpd |
| 706 | /usr/sbin/rpcbind |
| 707 | /usr/sbin/sshd |
| 708 | /usr/sbin/syslogd |
| 709 | /usr/testbed/sbin/bootinfo |
| 710 | /usr/testbed/sbin/mfrisbeed |
| 711 | /usr/testbed/sbin/sdcollectd |
| 712 | /usr/testbed/sbin/tmcd |
| 713 | PATH |
| 714 | }}} |
| 715 | * The errors were a couple of pids which get reported as `?`: |
| 716 | {{{ |
| 717 | boss.instageni.gpolab.bbn.com,[~],07:57(0)$ sockstat -lL46 |
| 718 | USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS |
| 719 | ... |
| 720 | ? ? ? ? udp4 *:2049 *:* |
| 721 | ? ? ? ? udp6 *:2049 *:* |
| 722 | }}} |
| 723 | In the previous test, i concluded that this is normal nfsd weirdness and no cause for alarm. |
| 724 | * So, the list of listeners is: |
| 725 | {{{ |
| 726 | /usr/libexec/sendmail/sendmail |
| 727 | /usr/local/bin/perl |
| 728 | /usr/local/bin/python2.7 |
| 729 | /usr/local/libexec/pubsubd |
| 730 | /usr/local/libexec/tftpd |
| 731 | /usr/local/sbin/dhcpd |
| 732 | /usr/local/sbin/httpd |
| 733 | /usr/sbin/inetd |
| 734 | /usr/sbin/lwresd |
| 735 | /usr/sbin/mountd |
| 736 | /usr/sbin/nfsd |
| 737 | /usr/sbin/ntpd |
| 738 | /usr/sbin/rpcbind |
| 739 | /usr/sbin/sshd |
| 740 | /usr/sbin/syslogd |
| 741 | /usr/testbed/sbin/bootinfo |
| 742 | /usr/testbed/sbin/mfrisbeed |
| 743 | /usr/testbed/sbin/sdcollectd |
| 744 | /usr/testbed/sbin/tmcd |
| 745 | }}} |
| 746 | * The following commands are sourced from freebsd packages: |
| 747 | {{{ |
| 748 | boss.instageni.gpolab.bbn.com,[~],08:00(0)$ pkg_info -W /usr/local/bin/perl |
| 749 | /usr/local/bin/perl was installed by package perl-5.12.4_3 |
| 750 | |
| 751 | boss.instageni.gpolab.bbn.com,[~],08:00(0)$ pkg_info -W /usr/local/bin/python2.7 |
| 752 | /usr/local/bin/python2.7 was installed by package python27-2.7.2_4 |
| 753 | |
| 754 | boss.instageni.gpolab.bbn.com,[~],08:00(0)$ pkg_info -W /usr/local/libexec/pubsubd |
| 755 | /usr/local/libexec/pubsubd was installed by package pubsub-0.95 |
| 756 | |
| 757 | boss.instageni.gpolab.bbn.com,[~],08:01(0)$ pkg_info -W /usr/local/libexec/tftpd |
| 758 | /usr/local/libexec/tftpd was installed by package emulab-tftp-hpa-0.48 |
| 759 | |
| 760 | boss.instageni.gpolab.bbn.com,[~],08:01(0)$ pkg_info -W /usr/local/sbin/dhcpd |
| 761 | /usr/local/sbin/dhcpd was installed by package isc-dhcp42-server-4.2.3_2 |
| 762 | |
| 763 | boss.instageni.gpolab.bbn.com,[~],08:01(0)$ pkg_info -W /usr/local/sbin/httpd |
| 764 | /usr/local/sbin/httpd was installed by package apache-2.2.22_5 |
| 765 | }}} |
| 766 | * So the summary of sourced packages here is: |
| 767 | {{{ |
| 768 | apache-2.2.22_5 |
| 769 | emulab-tftp-hpa-0.48 |
| 770 | isc-dhcp42-server-4.2.3_2 |
| 771 | perl-5.12.4_3 |
| 772 | pubsub-0.95 |
| 773 | python27-2.7.2_4 |
| 774 | }}} |
| 775 | * Not bothering to verify the distinfo from /usr/ports again, because i did it before, and the versions haven't changed |
| 776 | * The following commands aren't part of packages (`pkg_info -W` reports nothing): |
| 777 | {{{ |
| 778 | /usr/libexec/sendmail/sendmail |
| 779 | /usr/sbin/inetd |
| 780 | /usr/sbin/lwresd |
| 781 | /usr/sbin/mountd |
| 782 | /usr/sbin/nfsd |
| 783 | /usr/sbin/ntpd |
| 784 | /usr/sbin/rpcbind |
| 785 | /usr/sbin/sshd |
| 786 | /usr/sbin/syslogd |
| 787 | /usr/testbed/sbin/bootinfo |
| 788 | /usr/testbed/sbin/mfrisbeed |
| 789 | /usr/testbed/sbin/sdcollectd |
| 790 | /usr/testbed/sbin/tmcd |
| 791 | }}} |
| 792 | * The assumption is that these are either part of the FreeBSD base system, or are part of Emulab. How do we find out which? |
| 793 | * I can look in the canonical source of the emulab compile, which should be `/usr/testbed/obj/testbed`. Here's a process for checking various things in `/usr/testbed/sbin`, on the suspicion that they are probably Emulab binaries: |
| 794 | {{{ |
| 795 | cd /usr/testbed/obj/testbed |
| 796 | shortname=bootinfo # or whatever |
| 797 | shortmd5=$(md5 /usr/testbed/sbin/$shortname | awk '{print $4}') |
| 798 | for path in $(find . -type f -name $shortname 2> /dev/null); do md5 $path; done | grep $shortmd5 |
| 799 | }}} |
| 800 | * Hmm, the first thing i tried that on, bootinfo, did not match, and i'm sure i'm on the right boss now: |
| 801 | {{{ |
| 802 | boss.instageni.gpolab.bbn.com,[~],08:07(0)$ md5 /usr/testbed/sbin/bootinfo /usr/testbed/obj/testbed/pxe/bootinfo |
| 803 | MD5 (/usr/testbed/sbin/bootinfo) = 880f20f3320ccdeed81b685756cfb8cd |
| 804 | MD5 (/usr/testbed/obj/testbed/pxe/bootinfo) = 1c651f32132f80888b5ef8896b042e12 |
| 805 | |
| 806 | boss.instageni.gpolab.bbn.com,[~],08:08(0)$ ls -l /usr/testbed/sbin/bootinfo /usr/testbed/obj/testbed/pxe/bootinfo |
| 807 | -rwxr-xr-x 1 root wheel 140471 Dec 11 15:57 /usr/testbed/obj/testbed/pxe/bootinfo* |
| 808 | -rwxr-xr-x 1 root tbadmin 141046 Feb 26 11:10 /usr/testbed/sbin/bootinfo* |
| 809 | }}} |
| 810 | * Ditto mfrisbeed: |
| 811 | {{{ |
| 812 | boss.instageni.gpolab.bbn.com,[~],08:09(0)$ md5 /usr/testbed/sbin/mfrisbeed /usr |
| 813 | /testbed/obj/testbed/clientside/os/frisbee.redux/mfrisbeed |
| 814 | MD5 (/usr/testbed/sbin/mfrisbeed) = 0d90a44d74e4c3520835de15a1743d01 |
| 815 | MD5 (/usr/testbed/obj/testbed/clientside/os/frisbee.redux/mfrisbeed) = 71125d6e351a78f8a930873cd203cf0b |
| 816 | |
| 817 | boss.instageni.gpolab.bbn.com,[~],08:09(0)$ ls -l /usr/testbed/sbin/mfrisbeed /usr/testbed/obj/testbed/clientside/os/frisbee.redux/mfrisbeed |
| 818 | -rwxr-xr-x 1 root wheel 80952 Dec 11 15:57 /usr/testbed/obj/testbed/clientside/os/frisbee.redux/mfrisbeed* |
| 819 | -rwxr-xr-x 1 root tbadmin 80952 Feb 15 18:01 /usr/testbed/sbin/mfrisbeed* |
| 820 | }}} |
| 821 | * And the src files on this boss are old: |
| 822 | {{{ |
| 823 | boss.instageni.gpolab.bbn.com,[~],08:10(0)$ ls -l /usr/testbed/src/ |
| 824 | total 12 |
| 825 | drwxr-xr-x 54 root wheel 2048 Dec 11 15:50 emulab-devel/ |
| 826 | drwxr-xr-x 53 root wheel 2048 Dec 11 15:51 emulab-stable/ |
| 827 | drwxr-xr-x 54 282 6000 2560 Dec 11 15:54 testbed/ |
| 828 | }}} |
| 829 | [instaticket:24] claimed that, on a non-development rack, source and object files will be found in `/usr/testbed/{src,obj}/emulab-stable`. |
| 830 | |
| 831 | Picking this up via e-mail. |