Skip to content
Snippets Groups Projects
  1. Jan 19, 2022
  2. Jan 18, 2022
  3. Dec 01, 2021
  4. Nov 26, 2021
  5. Nov 22, 2021
  6. Nov 18, 2021
  7. Nov 17, 2021
  8. Nov 15, 2021
  9. Nov 11, 2021
  10. Oct 26, 2021
  11. Oct 22, 2021
  12. Oct 19, 2021
  13. Oct 13, 2021
  14. Oct 05, 2021
    • Oliver Breitwieser's avatar
      Workaround: Segfault in RCF ByteBuffer on deinit · 0fffd856
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Currently there is a segfault when using hxtorch if RCF deinits.
      
      This can be workarounded by not performing a full RCF-deinit if
      QuiggeldyConnection goes out of scope, but should be investigated
      further.
      
      Change-Id: I88b3cbb8277546361752c268a45f41156bb8d482
      0fffd856
    • Oliver Breitwieser's avatar
      quiggeldy: Log with full date · ba7af15d
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Change-Id: I93d90204df781f2089e8faf70141c0f8b6a509b5
      ba7af15d
    • Oliver Breitwieser's avatar
      Add debug messages to measure connection time · 6aacbafd
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Change-Id: I777852523e42f2ae6042c523e682db6ecb244f12
      6aacbafd
    • Oliver Breitwieser's avatar
      Add debug messages for SF<->cereal serialization · 6b38f888
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Change-Id: I958945d57f9bac9529a5b9f4132fab8d885ef9dc
      6b38f888
    • Oliver Breitwieser's avatar
      Adapt to c/14214 · 2c194dcb
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Depends-On: 14214
      Change-Id: I52ee7d4db9351956f7dfd2f150ed2abab227ecc2
      2c194dcb
    • Oliver Breitwieser's avatar
      Adapt to c/14179 · 2cb1b13b
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Depends-On: 14179
      Change-Id: Ia25a382f18afc8aba91ae5e9153a3054c99489d8
      2cb1b13b
    • Oliver Breitwieser's avatar
      Adapt to c/14147 · 732f13dd
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Depends-On: 14147
      Change-Id: I07684b97dd75522ace5855f5cbd6d80bb2ba3260
      732f13dd
    • Oliver Breitwieser's avatar
      quiggeldy: Allow for replayed munge credentials · 5380ce80
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Munge raises an error if credentials are decoded several times. However,
      we usually encode user data that is set once per call. For submitting
      reinit programs we perform several actions over the same client. Hence,
      we need to ignore this kind of error.
      If all calls set user data anew, we could drop this. Realistically this
      should be fine though.
      
      Change-Id: I9b1376107cb522bcd90d192b6e8dd562561f6ad7
      5380ce80
    • Oliver Breitwieser's avatar
      quiggeldy: Add debug message for unique identifier · 16de00af
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Change-Id: I674cbdc62431c7986b2326e37300a16d6ac6e156
      16de00af
    • Oliver Breitwieser's avatar
      quiggeldy: Reset connection on timeout · 0a29b19b
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      * Add FPGA timeout nofication excplicitly to ConnectionParameters for
        immediate access.
      * Introduces QuiggeldyWorker<T>::check_for_timeout(response) checking
        for responses that are timeouts; triggers a reconnect if encountered.
      
      Change-Id: Ib290317b6fe1c36a44e24600a535964ef0ebf52f
      0a29b19b
    • Oliver Breitwieser's avatar
      quiggeldy: Factor out setup_connection() · 675ac379
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Change-Id: I92b6a3ab17de0ad0dbbaff7dfe1dfd0ef3eeed64
      675ac379
    • Oliver Breitwieser's avatar
      Add quiggeldy-query-version · eb12d3a4
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Add tool to query remote version information from quiggeldy connection
      via RCF-interface.
      
      ```
      Query remote version information of running quiggeldy instance.
      
      Allowed options:
        -h [ --help ]         produce help message
        -i [ --ip ] arg       IP to connect to
        -p [ --port ] arg     Port to connect to
      ```
      
      Depends-On: 13092
      Change-Id: I68ab5f2e6e6abf21ceaec27065a75c0d2925d0e7
      eb12d3a4
    • Oliver Breitwieser's avatar
      Track users by name instead of UIDs · c2fd2225
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      For non-munge use, display the user supplied username. For munge usage,
      convert uid to string.
      
      Makes for much more informative log messages especially when not using
      munge.
      
      Unfortunately, despite avoiding copying, using strings as user-id seems
      to cause memory corruption after about five minutes of intense usage.
      Investigation pending.
      
      Change-Id: If4626e078a41ce8d4b7059492fea1137db94bfa4
      c2fd2225
    • Oliver Breitwieser's avatar
      QuiggeldyConnection check if remote uses munge · e713be0b
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      The error messages resulting from misconfigured munge-support are rather
      cryptic. Therefore, we have the client ask the server if it expects
      munge to be used and then:
      
      * deactivate munge support on the client if server does not use it.
      * throw an error if client has no munge support but server expects it.
      
      Change-Id: I833b141c6658c6db95a0d06e924a4467c260935c
      e713be0b
    • Oliver Breitwieser's avatar
      quiggeldy: Ensure get_unique_identifier succeeding · 83ec320a
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Right now, get_unique_identifier() requires an active connection because
      it is not implemented as a static method that checks the environment
      rather than an existing connection.
      
      Because hxtorch depends on this information during set up, we need to
      ensure the connection is established.
      
      Depends-On: 13932
      
      Change-Id: I167c5ced640921cde62d6d40effe6f68b04b8f51
      83ec320a
    • Oliver Breitwieser's avatar
      Allow for custom quiggeldy user via env · 840d9c47
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      This change allows clients to specify a custom username when using
      quiggeldy: QUIGGELDY_USER_NO_MUNGE
      
      As the name indicates, this will disable munge-based authentication to
      quiggeldy and hence requires that munge support is disabled on the
      running quiggeldy.
      
      This is useful if several users are emulated by a single unix user, as
      was the case at the NICE2021 demo.
      
      Depends-On: 13915
      
      Change-Id: Iadacd1fbf25a57d3c3745bfb26140cd44291181a
      840d9c47
    • Oliver Breitwieser's avatar
      Add ReinitStackEntry · 7bd495e0
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      * Add templated hxcomm::ReinitStackEntry
        * Allows registration of UTMessage-vectors to be executed after
          relinquishing control of remote hardware resources.
        * Is a no-op for all connections but QuiggeldyClient as only quiggeldy
          supports this mode of operation.
        * In Python, entries should be .pop()-ed from the stack because we
          cannot rely on the garbage collector to call the destructor in time.
      
      * Add specialized hxcomm::vx::RegisterReinit
      
      * Add helpers to wrap RegisterReinit in upper layers that can be
        constructed from Handles
      
      Dependendcies:
      
      Real dependency:
      Depends-On: 11390,14013
      
      We should also ensure the tests get built:
      Depends-On: 11391
      
      Change-Id: I33d640aa569aa4d10802469542bc41f40018ed5b
      7bd495e0
  15. Oct 01, 2021
    • Oliver Breitwieser's avatar
      quiggeldy: Add at-compile version information · 33e10387
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Quiggeldy is planned to be auto-deployed in a nightly fashion. Because
      from time to time there are bugfixes/new features added, we need a way
      to track in which state quiggeldy was compiled.
      
      This is meant for expert users to ensure a specific version of quiggeldy
      is deployed upon debugging.
      
      At a later time, we will add a versioned interface, preventing users
      from connecting when versions mismatch.
      
      * Add `-v`/`--version` switch to quiggeldy that prints out with which
        repository at what commit-state it was compiled.
      * Add `get_version_string`-method to RCF-interface to allow for remote
        querying of build information.
      
      Depends-On: 13086
      Change-Id: I9734f1d1d0214c4953f97e3835534f0e4d93520c
      33e10387