Build scripts timestamp issue



  • I see that some of the images of a build run are either not updated, or are updated but carry the wrong date in the file name.  Note this only affects some of the images in the directory.  As of Sat May 10 08:43:55 EDT 2014, I see:

    http://snapshots.pfsense.org/FreeBSD_stable/10/amd64/pfSense_HEAD/updates/pfSense-Full-Update-2.2-DEVELOPMENT-amd64-20140508-1205.tgz  09-May-2014 23:07            80785562
    
    

    Note the roughly 36 hour difference.

    From the build log, it seems the wrong file name is selected for the new build:

    Fri May  9 17:46:25 CDT 2014 -|- SRC_CONF: /home/pfsense/tools/builder_scripts/conf/src/src.conf.10
    Fri May  9 17:46:25 CDT 2014 -|- Remove list: /home/pfsense/tools/builder_scripts/conf/rmlist/remove.list.iso.10
    Fri May  9 17:46:25 CDT 2014 -|- Copy list: /home/pfsense/tools/builder_scripts/conf/copylist/copy.list.RELENG_2_2
    Fri May  9 17:46:25 CDT 2014 -|- ISOPATH: /tmp/pfSense//pfSense-LiveCD-2.2-DEVELOPMENT-amd64-20140508-1205.iso
    Fri May  9 17:46:25 CDT 2014 -|- MEMSTICKPATH: /tmp/pfSense//pfSense-memstick-2.2-DEVELOPMENT-amd64-20140508-1205.img
    Fri May  9 17:46:25 CDT 2014 -|- UPDATES_TARBALL_FILENAME: /tmp/pfSense//updates/pfSense-Full-Update-2.2-DEVELOPMENT-amd64-20140508-1205.tgz
    
    < ... skip ...>
    
    Fri May  9 18:00:51 CDT 2014 -|- >>> NanoBSD Image completed for flash type: sandisk size: 4g.
    Fri May  9 18:00:51 CDT 2014 -|- total 1379028
    Fri May  9 18:00:51 CDT 2014 -|- drwxr-xr-x   4 root  wheel   1.0K May  9 18:00 .
    Fri May  9 18:00:51 CDT 2014 -|- drwxr-xr-x  12 root  wheel   1.5K May  9 17:55 ..
    Fri May  9 18:00:51 CDT 2014 -|- -rw-r--r--   1 root  wheel   115B May  9 17:58 _.fdisk
    Fri May  9 18:00:51 CDT 2014 -|- drwxr-xr-x   2 root  wheel   512B May  9 17:55 _.mnt
    Fri May  9 18:00:51 CDT 2014 -|- -rw-r--r--   1 root  wheel   131M May  9 17:57 pfSense-2.2-DEVELOPMENT-1g-amd64-nanobsd-20140509-1743.img.gz
    Fri May  9 18:00:51 CDT 2014 -|- -rw-r--r--   1 root  wheel    65M May  9 17:57 pfSense-2.2-DEVELOPMENT-1g-amd64-nanobsd-upgrade-20140509-1743.img.gz
    Fri May  9 18:02:09 CDT 2014 -|- -rw-r--r--   1 root  wheel   133M May  9 17:58 pfSense-2.2-DEVELOPMENT-2g-amd64-nanobsd-20140509-1743.img.gz
    Fri May  9 18:02:09 CDT 2014 -|- -rw-r--r--   1 root  wheel    66M May  9 17:58 pfSense-2.2-DEVELOPMENT-2g-amd64-nanobsd-upgrade-20140509-1743.img.gz
    Fri May  9 18:02:09 CDT 2014 -|- -rw-r--r--   1 root  wheel   3.7G May  9 18:00 pfSense-2.2-DEVELOPMENT-4g-amd64-nanobsd-20140509-1743.img
    Fri May  9 18:02:09 CDT 2014 -|- -rw-------   1 root  wheel     0B May  9 18:00 pfSense-2.2-DEVELOPMENT-4g-amd64-nanobsd-20140509-1743.img.gz
    Fri May  9 18:02:09 CDT 2014 -|- -rw-r--r--   1 root  wheel   1.8G May  9 18:00 pfSense-2.2-DEVELOPMENT-4g-amd64-nanobsd-upgrade-20140509-1743.img
    Fri May  9 18:02:09 CDT 2014 -|- -rw-------   1 root  wheel     0B May  9 18:00 pfSense-2.2-DEVELOPMENT-4g-amd64-nanobsd-upgrade-20140509-1743.img.gz
    Fri May  9 18:02:09 CDT 2014 -|- -rw-r--r--   1 root  wheel    82M May  9 17:54 pfSense-LiveCD-2.2-DEVELOPMENT-amd64-20140508-1205.iso.gz
    Fri May  9 18:02:09 CDT 2014 -|- -rw-r--r--   1 root  wheel    82M May  9 17:55 pfSense-memstick-2.2-DEVELOPMENT-amd64-20140508-1205.img.gz
    Fri May  9 18:02:09 CDT 2014 -|- -rw-r--r--   1 root  wheel    82M May  9 17:55 pfSense-memstick-serial-2.2-DEVELOPMENT-amd64-20140508-1205.img.gz
    Fri May  9 18:02:09 CDT 2014 -|- drwxr-xr-x   2 root  wheel   512B May  9 17:55 updates
    Fri May  9 18:02:09 CDT 2014 -|- >>> Cleaning build directories: pfsense-clone Done!
    Fri May  9 18:02:09 CDT 2014 -|- >>> Previous /usr/local/pfsense-clone detected cleaning up...Done.
    

    Note the mix of 0509 and 0508 dates in the file names.

    Edit: I confirmed the build is right (the lastest) it's just the date encoded in the file name that is wrong.  For example, the 0508-1205 named image does have Ermal's last commit:```
    https://redmine.pfsense.org/projects/pfsense/repository/revisions/466a5a813426147e24fb7bd7428dba877cf87660/diff/etc/inc/vpn.inc

    
    This is just FYI, I know there are bigger issues being worked on!


  • This seems to be fixed now, thanks!


Log in to reply