SuccessConsole Output

Started by user Alex
Building in workspace /var/lib/jenkins/sharedspace/QEMU
[magic-lantern] $ hg showconfig paths.default
[magic-lantern] $ hg pull --rev qemu
pulling from https://bitbucket.org/hudson/magic-lantern/
no changes found
[magic-lantern] $ hg update --clean --rev qemu
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
[magic-lantern] $ hg log --rev . --template {node}
[magic-lantern] $ hg log --rev . --template {rev}
[magic-lantern] $ hg log --rev cd37857dafece1d275ead89462c7b01375422910 --template exists\n
exists
[magic-lantern] $ hg log --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev "ancestors('qemu') and not ancestors(cd37857dafece1d275ead89462c7b01375422910)" --encoding UTF-8 --encodingmode replace
[QEMU] $ /bin/bash -v /tmp/hudson3881189669808575165.sh
#!/bin/bash -v

export QEMU_EOS_WORKDIR=../../../qemu-roms
export PATH=$PATH:~/gcc-arm-none-eabi-5_4-2016q3/bin/

cd qemu
rm -f *.log *.ppm *.pgm
rm -rf html/

# we will use this script for all tests
export QEMU_SCRIPT=\
"sleep 20; echo screendump boot\$LOG_SUFFIX.ppm
echo sendkey m; sleep 1; echo screendump menu\$LOG_SUFFIX.ppm
echo sendkey spc; echo sendkey spc; sleep 1; echo screendump firm\$LOG_SUFFIX.ppm" \

# test run with plain Canon firmware
env LOG_SUFFIX="-vanilla" \
    ML_PLATFORMS="EOSM2.103/" \
    BOOT=0 \
    ./run_ml_all_cams.sh

Emulating EOSM2 103...
=====================


( 
  sleep 20; echo screendump boot-vanilla.ppm
  echo sendkey m; sleep 1; echo screendump menu-vanilla.ppm
  echo sendkey spc; echo sendkey spc; sleep 1; echo screendump firm-vanilla.ppm
  echo quit
) | (
  arm-none-eabi-gdb -x EOSM2/patches.gdb & 
  ./run_canon_fw.sh EOSM2,firmware='boot=0' \
      -display none -monitor stdio  -s -S
) &>     EOSM2.103-vanilla.log


# compile minimal ML from dfort's repo
cd ../magic-lantern/
hg pull -b EOSM2.103_wip https://bitbucket.org/daniel_fort/magic-lantern
pulling from https://bitbucket.org/daniel_fort/magic-lantern
no changes found
hg up EOSM2.103_wip -C
125 files updated, 0 files merged, 282 files removed, 0 files unresolved
sed -i 's/0xFF0C1C94/0xFF0C1C90/' platform/EOSM2.103/consts.h
cd ../qemu/

# run emulation with minimal ML
env LOG_SUFFIX="-mh" \
    ML_PLATFORMS="EOSM2.103/" \
    BOOT=1 \
    AUTOEXEC_ONLY=1 \
    BUILD_DIR="minimal/\$CAM" \
    ./run_ml_all_cams.sh

Emulating EOSM2 103...
=====================

make -C ../minimal/EOSM2 clean
make: Entering directory '/var/lib/jenkins/sharedspace/QEMU/magic-lantern/minimal/EOSM2'
[ RM       ]   *.o *.d autoexec autoexec.bin magiclantern magiclantern.bin
[ RM       ]   magiclantern.bin autoexec autoexec.map location.map
[ RM       ]   autoexec-fir autoexec-fir.bin
[ RM       ]   magiclantern.lds
[ RM       ]   dietlibc.a newlib-libc.a newlib-libm.a gcc-libgcc.a
[ RM       ]   version.c version.bin
[ RM       ]   ../../build_tools/xor_chk ../../build_tools/xor_chk.exe
[ RM dir   ]   zip
[ RM       ]   *.zip
make: Leaving directory '/var/lib/jenkins/sharedspace/QEMU/magic-lantern/minimal/EOSM2'
make: Entering directory '/var/lib/jenkins/sharedspace/QEMU/magic-lantern/minimal/EOSM2'
[ VERSION  ]   ../../platform/EOSM2.103/version.bin
[ CPP      ]   magiclantern.lds
[ AS       ]   entry.o
[ CC       ]   minimal.o
[ CC       ]   font_direct.o
[ AS       ]   ../../platform/EOSM2.103/stubs.o
[ AR       ]   strrchr.o
[ AR       ]   dietlibc.a
[ AR       ]   lib_a-setjmp.o
[ AR       ]   newlib-libc.a
[ CP       ]   newlib-libm.a
[ CP       ]   gcc-libgcc.a
[ LD       ]   magiclantern
[ OBJCOPY  ]   magiclantern.bin
[ STAT     ]   magiclantern.bin
magiclantern.bin: 1920 bytes
[ CC       ]   reboot.o
../../src/reboot.c: In function 'cstart':
../../src/reboot.c:213:6: warning: #warning Signature Checking bypassed!! Please use a proper signature [-Wcpp]
     #warning Signature Checking bypassed!! Please use a proper signature
      ^
[ CC       ]   disp_direct.o
[ CC       ]   footer.o
[ LD       ]   autoexec
[ XOR_CHK  ]   ../../build_tools/xor_chk
[ OBJCOPY  ]   autoexec.bin
[ XOR_CHK  ]   autoexec.bin

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000060 0x00100e00 0x00100e00 0x00780 0x03780 RWE 0x10


CONFIG_QEMU=y

make: Leaving directory '/var/lib/jenkins/sharedspace/QEMU/magic-lantern/minimal/EOSM2'
Symbols from ../magic-lantern/minimal/EOSM2
memcpy  - 
DebugMsg 00004398

( 
  sleep 20; echo screendump boot-mh.ppm
  echo sendkey m; sleep 1; echo screendump menu-mh.ppm
  echo sendkey spc; echo sendkey spc; sleep 1; echo screendump firm-mh.ppm
  echo quit
) | (
  arm-none-eabi-gdb -x EOSM2/patches.gdb & 
  ./run_canon_fw.sh EOSM2,firmware='boot=1' \
      -display none -monitor stdio  -s -S
) &>     EOSM2.103-mh.log


# compile regular ML from dfort's repo (doesn't work)
#env LOG_SUFFIX="-hello" \
#    ML_PLATFORMS="EOSM2.103/" \
#    BOOT=1 \
#    ./run_ml_all_cams.sh

# prepare results
./html_logs.sh EOSM2*.log
EOSM2.103-mh.log -> html/EOSM2.103-mh.log.html
EOSM2.103-vanilla.log -> html/EOSM2.103-vanilla.log.html
montage $(ls -tr *.ppm) -geometry 360x240+5+5 EOSM2.png
ls -tr *.ppm
Archiving artifacts
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/sharedspace/QEMU/qemu/html to /var/lib/jenkins/jobs/QEMU-EOSM2/htmlreports/QEMU_EOSM2_test_run
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Triggering a new build of QEMU-coverage
Finished: SUCCESS