https://bugzilla.wikimedia.org/show_bug.cgi?id=71766

            Bug ID: 71766
           Summary: jsub command produces empty output/error files
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: tools
          Assignee: m...@uberbox.org
          Reporter: bsitzm...@wikimedia.org
                CC: benap...@gmail.com, t...@tim-landscheidt.de
       Web browser: ---
   Mobile Platform: ---

To repro:
login to tools and become wikipedia-android-builds

# note output of:
  ls -l build.*
-rw-rw---- 1 tools.wikipedia-android-builds tools.wikipedia-android-builds 0
Oct  7 21:39 build.err
-rw-rw---- 1 tools.wikipedia-android-builds tools.wikipedia-android-builds 0
Oct  7 21:39 build.out

# force a build by making git fetch a new commit
cd wikipedia
git reset --hard HEAD^

# run the build either from cron or directly the jsub command:
jsub -mem 8G -quiet -once /data/project/wikipedia-android-builds/src/build.py

I can see that a job is running (with job -v build), but there is no output
added to the ~/build.out or ~/build.err files.

I've modified the build.py script. So, it's possible there is a bug in the
script.
Note that I added more env vars:
    'JAVA_HOME': '/usr/lib/jvm/java-7-openjdk-amd64',
    'TERM': 'xterm-256color'

(Gradle needs TERM set to something valid.)

Strangely, sometimes I do get output in those files. But it seems to be the
rare case when I've been trying throughout today. Can't try it again right now
since most machines are dead. But Yuvi asked me to file a bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to