Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1979

beta 4.x unit test build failures for aix

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.2.0.0
    • Fix Version/s: None
    • Component/s: Web Agents
    • Labels:

      Description

      Bug description

      notifications seen
      @here Build Agents/c_agents_beta_sustaining_4.1.x 38 Unstable :building test on AIX61 failed
      @here Build Agents/c_agents_beta_sustaining_4.1.x 38 Unstable :building test on AIX61 failed

      How to reproduce the issue

      Build

      1. step 1
      2. step 2
      3. step 3
      4. ...
      Expected behaviour
      {..}
      
      Current behaviour
      13:53:30 [AIX6Stream] sed -r "/.*static.+/d" tests/test_alt_urls.c tests/test_audit.c tests/test_config.c tests/test_exits.c tests/test_init.c tests/test_logging.c tests/test_MAIN.c tests/test_network.c tests/test_notenforced_lists.c tests/test_notifications.c tests/test_policy.c tests/test_policy_cache.c tests/test_policy_server.c tests/test_setup_requests.c tests/test_utility.c | sed -rn "/.*\(void[ \t]*\*\*[ \t]*state\)/p" | sed -r "s/\{/\;/g" > build/tests/tests.h.template
      13:53:30 [AIX6Stream] sed: illegal option -- r
      13:53:30 [AIX6Stream] Usage:	sed [-n] [-u] Script [File ...]
      13:53:30 [AIX6Stream] 	sed [-n] [-u] [-e Script] ... [-f Script_file] ... [File ...]
      13:53:30 [AIX6Stream] sed: illegal option -- r
      13:53:30 [AIX6Stream] Usage:	sed [-n] [-u] Script [File ...]
      13:53:30 [AIX6Stream] 	sed [-n] [-u] [-e Script] ... [-f Script_file] ... [File ...]
      13:53:30 [AIX6Stream] sed: illegal option -- r
      13:53:30 [AIX6Stream] Usage:	sed [-n] [-u] Script [File ...]
      13:53:30 [AIX6Stream] 	sed [-n] [-u] [-e Script] ... [-f Script_file] ... [File ...]
      13:53:30 [AIX6Stream] make: *** [test_includes] Error 1
      

      Work around

      OPTIONAL - If you have a workaround, please put the details here (remove this text)

      Code analysis

      OPTIONAL - If you already investigated the code, please share your finding here (remove this text)

      org.forgerock.$className.java
      Need to amend build job to use correct sed / sed options for AIX
      

        Attachments

          Activity

            People

            • Assignee:
              alex.levin@forgerock.com Alex Levin
              Reporter:
              alex.levin@forgerock.com Alex Levin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: