Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

BATS bash tests for build scripts + various other improvements and fixes #7366

Merged
merged 16 commits into from
Jun 4, 2019

Commits on May 23, 2019

  1. added bash-bats folder with tests

    New build/install/uninstall scripts
    
    pipeline change
    
    Cmake install path change (removing eosio) and .environment file
    
    gitignore additions
    
    [skip ci] removed 7 from function since devtoolset-8 is available and we might change it in the near future
    
    [skip ci] bats readme updates
    
    [skip ci] Architecture move
    
    [skip ci] Removed set -i from ubuntu
    
    eosio_install improvements
    
    removing -P from pipeline config
    
    Fix exception #
    
    Update to appbase with max priority on main thread
    
    Update to appbase with set_thread_priority_max method
    
    Add call to set_thread_priority_max
    
    (softfloat sync) clean up strict-aliasing rules warnings
    
    this causes a lot of warnings on gcc7
    
    Adds configuration for replay test pipeline
    
    Fix `-b` flag for `cleos get table` subcommand
    
    Add `boost/asio/io_context.hpp` header to `transaction_metadata.hpp`
    
    [skip ci] Fixed build-esssential issue on ubuntu 18
    
    [skip ci] Various fixes for bats
    
    [skip ci] added back build-essentials line
    
    [skip ci] bzip added back to ubuntu deps
    
    [skip ci] More bats fixes to simplify c++ warning
    
    [skip ci] Fix for prompting when all packages are already installed
    
    [skip ci] bootstrap.sh for boost needs toolset=clang if we're pinning (fixes ubuntu16 build
    
    [skip ci] quick removal of debug
    
    [skip ci] Better placement for apt update prompt
    
    [skip ci] Support for llvm/clang7 on ubuntu 16
    
    [skip ci] regex match clang so we can support ehen readlink follows symlinks
    
    [skip ci] Reverted support for clang/llvm7 on ubuntu 16 since it throws an error (Cannot find a C++ compiler that supports both C++11 and the specified C++ flags)
    
    [skip ci] Show output for which install
    
    [skip ci] Moved which to after CURRENT_USER and moved CURRENT_USER to environment file
    
    [skip ci] Support for version inconsistencies
    
    homebrew install fixes and move to helper
    
    Various bats fixes and readme update
    
    centos test fixes for clang/build-essential
    
    amazonlinux2/centos7 gcc-c++ needed for -P
    
    amazonlinux2/centos7 gcc-c++ needed for -P
    
    [skip ci] amazonlinux2/centos7 gcc-c++ needed for -P
    
    [skip ci] centos7 removal since it uses devtoolset-7
    
    [skip ci] Putting centos gcc-c++ install back. Silly mistake
    
    [skip ci] Adding devtoolset-7 install regardless as it's needed for cmake installation
    
    [skip ci] output CXX and CC before build
    
    v3 mac image
    
    [skip ci] Various fixes for running as a user (instead of root)
    
    [skip ci] quick bats fix for amazonlinux
    
    revert of quiet mode for ubuntu
    
    version bump for docker plugin and new mac tag name
    
    version bump for docker plugin and new mac tag name
    
    fixes for bats and ubuntu failing even on success due to teardown [skip ci]
    
    added a check to uninstall-package to speed up tests [skip ci]
    
    [skip ci] Removed working dir as it's no longer needed (Dockerfile defaults to /home/cicd
    
    pipeline fixes for new cicd user home location
    
    testing pipeline location
    
    testing pipeline location
    
    testing pipeline location
    
    testing pipeline location
    
    [skip ci] allow git clone
    
    testing pipeline location
    
    fixes
    
    fixes
    
    pipeline testing
    
    pipeline testing
    
    pipeline testing
    
    pipeline testing
    
    adding --- to Executing so it looks better in buildkite logs
    
    test script fixes
    
    submodule check simplification and fix for amazonlinux2
    
    global VERBOSE=true
    
    fixes for tests
    
    test changes
    
    testing tar of artifact
    
    testing tar of artifact
    
    testing tar of artifact
    
    testing tar of artifact
    
    testing tar of artifact
    
    testing tar of artifact
    
    testing tar of artifact
    
    testing tar of artifact
    
    python3 enable for centos7
    
    package building fixes
    
    centos package fix
    Nathan Pierce committed May 23, 2019
    Configuration menu
    Copy the full SHA
    97c8fd7 View commit details
    Browse the repository at this point in the history
  2. merge with develop

    Nathan Pierce committed May 23, 2019
    Configuration menu
    Copy the full SHA
    f463701 View commit details
    Browse the repository at this point in the history
  3. libraries fix

    Nathan Pierce committed May 23, 2019
    Configuration menu
    Copy the full SHA
    63151b5 View commit details
    Browse the repository at this point in the history
  4. anka plugin bump to 0.5.0

    Nathan Pierce committed May 23, 2019
    Configuration menu
    Copy the full SHA
    b09b793 View commit details
    Browse the repository at this point in the history
  5. quick fix for yum

    Nathan Pierce committed May 23, 2019
    Configuration menu
    Copy the full SHA
    7a25c2a View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. agent lost auto retry

    Nathan Pierce committed May 24, 2019
    Configuration menu
    Copy the full SHA
    10a3f45 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2019

  1. anka-debug testing

    remove anka-debug
    
    port db_modes_test to python
    
    increate timeout to 1 min
    
    add free port check, current ulimit check
    
    another try
    
    another try
    
    find free port automatically
    
    throw error if trying to create non R1 key on SE or YubiHSM wallet
    
    (fc sync) Fix certificate trust when trust settings is empty
    
    When a certificate has no trust settings it is to be trusted
    
    pipeline.jsonc in use [skip ci]
    
    testing new pipeline [skip ci]
    
    Removed pipeline files from eosio
    
    add support for a simple header in the state database which defines versioning for the application level data.  The intent is to have a more direct informative message when the expectations for in-memory layout of application data has changed due to explicit changes to the structure (as opposed to the implicit change detected by our chainbase level checks)
    
    allow in-place upgrade from unversioned to versioned state database
    
    create the database header when loading from a snapshot
    
    Remove undefined method
    
    Add blk and trx options to connection for transactions only and block only connections
    
    Add log for connection settting
    
    Update handshake message to indicate type of connection, trx or blk or both
    
    Remove unneeded reads_in_flight as there can only ever be one read in flight per connection. Add read_delay_count for giving up on a connection when too many consecutive read delays.
    
    Improve logging of connection type
    
    pipeline.jsonc changes [skip ci]
    
    test scripts moved to pipelines repo
    
    (chainbase) don’t keep file mapping active when in heap/locked mode
    
    When in heap or locked mapping mode, pinnable_mapped_file initially maps the database so that it can copy its contents in to the heap/locked memory. Then on shutdown it copies the heap/locked memory back to that mapped file.
    
    This means that during execution in heap/locked mode the process actually shows double memory usage as expected: once for the mapped file that is kept around, and once for the heap/locked memory.
    
    This change closes the mapping after its contents have been copied to the heap/locked memory. It then reopens the mapping on shutdown so that the contents can be copied back. So now during execution the database is only consuming the expected memory
    
    Use imported targets for boost
    
    Update the main cmake file and submodules so that imported targets are used for boost. This allows the cmake config files in 1.70  to be used without activating legacy mode via Boost_NO_BOOST_CMAKE. Additionally, fc/appbase/chainbase are cleaned up so that they are usable outside of eosio without any quirks. To squelch a lot of repetition I’m relying on fc brining in a lot of deps like many boost components & threads — we link just about everything to fc
    
    no need to start keosd for convert
    
    no need to start keosd for cleos multisig review
    
    Add option for cleos sign subcommand to ask keosd for signing
    
    Fix missing signing when key is inputted from cin
    
    rename option and explanation
    
    dont echo private key when an error occurs
    
    Fix description of cleos sign public key
    
    txn json to file
    
    add file open fail check
    Nathan Pierce committed May 30, 2019
    Configuration menu
    Copy the full SHA
    a78c586 View commit details
    Browse the repository at this point in the history
  2. README update

    Nathan Pierce committed May 30, 2019
    Configuration menu
    Copy the full SHA
    59517cf View commit details
    Browse the repository at this point in the history
  3. testing github archive for boost

    Nathan Pierce committed May 30, 2019
    Configuration menu
    Copy the full SHA
    381f27a View commit details
    Browse the repository at this point in the history
  4. testing github archive for boost

    Nathan Pierce committed May 30, 2019
    Configuration menu
    Copy the full SHA
    5af7c36 View commit details
    Browse the repository at this point in the history
  5. boost revert

    Nathan Pierce committed May 30, 2019
    Configuration menu
    Copy the full SHA
    e56fbf4 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. Merge branch 'develop' into bats-v3

    Nathan Pierce committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    9a226d8 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. [skip ci] .bash -> .sh

    Nathan Pierce committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    1eda4db View commit details
    Browse the repository at this point in the history
  2. removed pipelinebranch + new IMAGE_TAG name

    Nathan Pierce committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    626af4a View commit details
    Browse the repository at this point in the history
  3. removed pipelinebranch + new IMAGE_TAG name

    Nathan Pierce committed Jun 4, 2019
    Configuration menu