| 832 | |
| 833 | === Results of testing step 1: 2013-03-01 === |
| 834 | |
| 835 | Reusing the data from yesterday's testing, just to check Leigh's fix. |
| 836 | |
| 837 | * The following commands aren't part of packages (`pkg_info -W` reports nothing): |
| 838 | {{{ |
| 839 | /usr/libexec/sendmail/sendmail |
| 840 | /usr/sbin/inetd |
| 841 | /usr/sbin/lwresd |
| 842 | /usr/sbin/mountd |
| 843 | /usr/sbin/nfsd |
| 844 | /usr/sbin/ntpd |
| 845 | /usr/sbin/rpcbind |
| 846 | /usr/sbin/sshd |
| 847 | /usr/sbin/syslogd |
| 848 | /usr/testbed/sbin/bootinfo |
| 849 | /usr/testbed/sbin/mfrisbeed |
| 850 | /usr/testbed/sbin/sdcollectd |
| 851 | /usr/testbed/sbin/tmcd |
| 852 | }}} |
| 853 | * The assumption is that these are either part of the FreeBSD base system, or are part of Emulab. How do we find out which? |
| 854 | * 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: |
| 855 | {{{ |
| 856 | cd /usr/testbed/obj/testbed |
| 857 | shortname=bootinfo # or whatever |
| 858 | shortmd5=$(md5 /usr/testbed/sbin/$shortname | awk '{print $4}') |
| 859 | for path in $(find . -type f -name $shortname 2> /dev/null); do md5 $path; done | grep $shortmd5 |
| 860 | }}} |
| 861 | * Okay, so... the md5sums in obj still don't match: |
| 862 | {{{ |
| 863 | boss.instageni.gpolab.bbn.com,[/usr/testbed/src/testbed],14:25(0)$ md5 /usr/testbed/sbin/bootinfo /usr/testbed/obj/testbed/pxe/bootinfo |
| 864 | MD5 (/usr/testbed/sbin/bootinfo) = 880f20f3320ccdeed81b685756cfb8cd |
| 865 | MD5 (/usr/testbed/obj/testbed/pxe/bootinfo) = ce19b79f88e556a4ea643802f682274c |
| 866 | |
| 867 | boss.instageni.gpolab.bbn.com,[/usr/testbed/src/testbed],14:25(0)$ ls -l /usr/testbed/sbin/bootinfo /usr/testbed/obj/testbed/pxe/bootinfo |
| 868 | -rwxrwxr-x 1 elabman tbadmin 141246 Feb 12 18:01 /usr/testbed/obj/testbed/pxe/bootinfo* |
| 869 | -rwxr-xr-x 1 root tbadmin 141046 Feb 26 11:10 /usr/testbed/sbin/bootinfo* |
| 870 | }}} |
| 871 | I asked about that via e-mail. |
| 872 | * How about source: |
| 873 | {{{ |
| 874 | boss.instageni.gpolab.bbn.com,[/usr/testbed/src/testbed],15:01(0)$ git log | head -3 |
| 875 | commit 8f0a15bb370c42b64469a6d03e00c05945d64e03 |
| 876 | Author: Leigh B Stoller <stoller@flux.utah.edu> |
| 877 | Date: Tue Feb 26 07:43:29 2013 -0700 |
| 878 | }}} |
| 879 | * Compare to what the GENI AM API thinks the code tag is: |
| 880 | {{{ |
| 881 | omni -a https://instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am getversion |
| 882 | INFO:omni:Loading config file /home/chaos/omni/omni_pgeni |
| 883 | INFO:omni:Using control framework pg |
| 884 | INFO:omni:AM URN: unspecified_AM_URN (url: https://instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am) has version: |
| 885 | INFO:omni:{ 'code': { 'am_code': 0, |
| 886 | 'am_type': 'protogeni', |
| 887 | 'geni_code': 0, |
| 888 | 'protogeni_error_log': 'urn:publicid:IDN+instageni.gpolab.bbn.com+log+efb965bba3d6d8beb3d08b143895863b', |
| 889 | 'protogeni_error_url': 'https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=efb965bba3d6d8beb3d08b143895863b'}, |
| 890 | 'geni_api': 2, |
| 891 | 'output': '', |
| 892 | 'value': { 'code_tag': '8f0a15bb370c42b64469a6d03e00c05945d64e03', |
| 893 | ... |
| 894 | }}} |
| 895 | * And, as a sanity-check, the date looks good relative to the timestamps of live files: |
| 896 | {{{ |
| 897 | boss.instageni.gpolab.bbn.com,[/usr/testbed/src/testbed],15:02(0)$ ls -ld .git |
| 898 | drwxrwxr-x 9 elabman tbadmin 512 Feb 26 09:46 .git/ |
| 899 | |
| 900 | boss.instageni.gpolab.bbn.com,[~],15:03(0)$ ls -lart /usr/testbed/sbin/ | tail |
| 901 | lrwxr-xr-x 1 root tbadmin 28 Feb 26 11:10 addmmuser@ -> /usr/testbed/libexec/runsuid |
| 902 | lrwxr-xr-x 1 root tbadmin 28 Feb 26 11:10 addmmlist@ -> /usr/testbed/libexec/runsuid |
| 903 | lrwxr-xr-x 1 root tbadmin 28 Feb 26 11:10 addjabberuser@ -> /usr/testbed/libexec/runsuid |
| 904 | lrwxr-xr-x 1 root tbadmin 28 Feb 26 11:10 addjabberchat@ -> /usr/testbed/libexec/runsuid |
| 905 | drwxr-xr-x 2 root tbadmin 1024 Feb 26 11:10 protogeni/ |
| 906 | lrwxr-xr-x 1 root tbadmin 28 Feb 26 11:10 plabslicewrapper@ -> /usr/testbed/libexec/runsuid |
| 907 | lrwxr-xr-x 1 root tbadmin 28 Feb 26 11:10 plabnodewrapper@ -> /usr/testbed/libexec/runsuid |
| 908 | lrwxr-xr-x 1 root tbadmin 28 Feb 26 11:10 gencabundle@ -> /usr/testbed/libexec/runsuid |
| 909 | lrwxr-xr-x 1 root tbadmin 28 Feb 26 11:10 cleanupslice@ -> /usr/testbed/libexec/runsuid |
| 910 | drwxrwxr-x 4 root tbadmin 5120 Feb 26 11:10 ./ |
| 911 | }}} |
| 912 | |
| 913 | So, src definitely looks good, just asking Utah about obj as a sanity-check. |