Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11043

Segmentation fault(Build step 'Execute shell' marked build as failure)

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: ruby-plugin
    • Labels:
      None
    • Environment:
      jruby 1.6.1(scripting language)
      Jenkins 1.428
    • Similar Issues:

      Description

      Hi,
      I have suite of test cases written in ruby. I am executing them via hudson node.
      if i run tests on my local machine, it's working fine without any problem but when
      i run them via hudson over hudson slave node. test build failed due to segmentation fault.
      =============== build / execute shell ==========================================

      export LD_LIBRARY_PATH=/usr/local/lib/
      export ENVIRONMENT=RC
      cd ${WORKSPACE}
      /home/hudson/bin/jruby-1.6.1/bin/jruby.sh SearchBackendTest.rb

      ==================== final ouput ===============================================
      Finished in 3083.445 seconds.

      58 tests, 4635 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
      100% passed

      0.02 tests/s, 1.50 assertions/s
      /tmp/hudson7589639156667861227.sh: line 5: 1061 Segmentation fault /home/hudson/bin/jruby-1.6.1/bin/jruby.sh SearchBackendTest.rb
      Build step 'Execute shell' marked build as failure
      Notifying upstream projects of job completion
      Finished: FAILURE
      =========================================================================================

      According to final output, our tests execute wihout any error but still build getting failed. any idea????

        Attachments

          Activity

          Hide
          jwt487 SH Lim added a comment -

          Hi,

          Occasionally my builds will have the following segmentation error as below:

          15:23:50 /tmp/hudson4831912272777887538.sh: line 2: 28186 Segmentation fault cleartool setview -exec "cd /myvobs/core && make -j4" ${CLEARCASE_VIEWTAG}
          15:23:51 Build step 'Execute shell' marked build as failure
          15:23:52 Archiving artifacts
          15:23:56 Finished: FAILURE

          We are using ClearCase as the version control software. Is it the same bug in this case?

          Show
          jwt487 SH Lim added a comment - Hi, Occasionally my builds will have the following segmentation error as below: 15:23:50 /tmp/hudson4831912272777887538.sh: line 2: 28186 Segmentation fault cleartool setview -exec "cd /myvobs/core && make -j4" ${CLEARCASE_VIEWTAG} 15:23:51 Build step 'Execute shell' marked build as failure 15:23:52 Archiving artifacts 15:23:56 Finished: FAILURE We are using ClearCase as the version control software. Is it the same bug in this case?

            People

            • Assignee:
              Unassigned
              Reporter:
              rajeshhuria rajesh huria
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: