Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: fix macOS and tonlib Android GitHub actions in testnet #786

Merged
merged 9 commits into from
Oct 30, 2023

Conversation

neodix42
Copy link
Member

GitHub action that builds WASM libraries fails randomly with different GitHub image runner versions.
This will be fixed with a separate PR.

@EmelyanenkoK EmelyanenkoK merged commit 89700cb into ton-blockchain:testnet Oct 30, 2023
dungeon-master-666 added a commit to dungeon-master-666/ton that referenced this pull request Jan 17, 2024
* Add timeout for out_msg_queue_cleanup (ton-blockchain#679)

Co-authored-by: SpyCheese <[email protected]>

* Make stricter cleanup timelimit

* Comment out excessive checks of outbound messages queue

* Revert too strictening of queue_cleanup_timeout

* Increase limit for t_Block.validate, simplify validating StateInit (ton-blockchain#691)

Co-authored-by: SpyCheese <[email protected]>

* Account for unprocessed messages in estimate_block_size; check consensus_config limits in collator (ton-blockchain#692)

Co-authored-by: SpyCheese <[email protected]>

* Update README.md (ton-blockchain#702)

* Add 2023.06 update changelog

* Fix windows build

* Update libmicrohttp library in Windows build

* New tag for encrypted messages

* Fix parsing dict of public libraries (ton-blockchain#762)

* Rework locking mechanism in blockchain-explorer. (ton-blockchain#772)

Mainly because it was causing crash on Windows with error "unlock of unowned mutex".

* Explicitly handle special cells in action list (ton-blockchain#777)

* Do not retranslate external messages with wrong initstate (ton-blockchain#778)

* Check peers prior to saving it to local db (ton-blockchain#779)

* Human-readable timestamps in explorer (ton-blockchain#776)

* Add 2023.10 update changelog

* fix openSSL path (ton-blockchain#783)

* upgrade nixpkgs to v22 (ton-blockchain#784)

* [tonlib] Handle special cell in msg body (ton-blockchain#789)

* Add "showtransactions" to tonlib-cli (ton-blockchain#790)

Co-authored-by: SpyCheese <[email protected]>

* CI: fix macOS and tonlib Android GitHub actions in testnet (ton-blockchain#786)

* fix macOS github actions

* fix android tonlib GH action;

* fixing wasm GH action

* strip binaries

* fix randomly failing ubuntu and wasm GH actions

* fix randomly failing ubuntu and wasm GH actions

* revert some changes

* Various changes in TVM, github builds and tests (ton-blockchain#793)

* Bugfixes in TVM and node

* Upgrade to C++17

* Improve GitHub builds

* Fix existing tests and partially integrate them into builds

---------

Co-authored-by: neodiX42 <[email protected]>
Co-authored-by: EmelyanenkoK <[email protected]>

* Change GASCONSUMED opcode to f807

* Add information on running tests (ton-blockchain#796)

Co-authored-by: SpyCheese <[email protected]>

* Fix transaction credit phase (ton-blockchain#797)

Co-authored-by: SpyCheese <[email protected]>

* Allow anycast destination address in masterchain (ton-blockchain#807)

* Limit max number of public libraries on contracts (ton-blockchain#808)

* Fix due payment reimbursement (ton-blockchain#809)

* Return zero instead of null in compute_storage_fees (ton-blockchain#810)

Co-authored-by: SpyCheese <[email protected]>

* Increase emulator capability to (de)serialize data (ton-blockchain#811)

* Don't allow deploying a contract with public libs (ton-blockchain#812)

* Check account size limits in unpack_msg_state

* Don't allow deploying a contract with public libs

---------

Co-authored-by: SpyCheese <[email protected]>

* Add 2023.11 Update changelogs

* Improve large OutMsgQueue clearance (ton-blockchain#822)

* Improve Collator::opt_msg_queue_cleanup, increase collator timeout

* Disable importing ext msgs if queue is too big

* Extend timeout in collator if previous block is too old

---------

Co-authored-by: SpyCheese <[email protected]>

* Cache recent block states and adjust timeouts (ton-blockchain#823)

* Add parameter --celldb-compress-depth to speed up celldb

* Fix collator timeout

* Add block_state_cache

* Adjust state cache ttl

* Don't merge shards when queue is too big

* Decrease lt limit if previous block is too old

---------

Co-authored-by: SpyCheese <[email protected]>

* Improve handling outbound message queues (ton-blockchain#825)

* Improve handling outbound message queues

* Cleanup queue faster
* Calculate queue sizes in background
* Force or limit split/merge depending on queue size

* Increase validate_ref limit for transaction

* Add all changes of public libraries to block size estimation

* Don't crash on timeout in GC

* Don't import external messages when queue is too big

---------

Co-authored-by: SpyCheese <[email protected]>

* Fix linking error (ton-blockchain#827)

* Fix linking error

---------

Co-authored-by: SpyCheese <[email protected]>

* Move low blockrate lt_limits to appropriate place (ton-blockchain#828)

* Fix setting lt_delta limits

---------

Co-authored-by: SpyCheese <[email protected]>

* Adjust allowed time lag for last_liteserver_state + more verbose logs (ton-blockchain#836)

* Add logs to collator and validator

* More logs to get_ext_messages, decrease verbosity level

* Adjust allowed time lag for last_liteserver_state

* Change verbosity of STATUS message

---------

Co-authored-by: SpyCheese <[email protected]>

* Improve CellDb migration (ton-blockchain#835)

* Fix deserializing cells
* Use proxy actor
* Add delays
* Print stats every minute

Co-authored-by: SpyCheese <[email protected]>

* Better error messages from LS for missing blocks (ton-blockchain#837)

Co-authored-by: SpyCheese <[email protected]>

* Write config.json using temp file (ton-blockchain#839)

Co-authored-by: SpyCheese <[email protected]>

* Improve DHT store/load, pinging overlay peers (ton-blockchain#840)

* Improve DHT store/load, pinging overlay peers

* Fix speed limits in storage

* Use keyStoreTypeDirectory in rldp-http-proxy and storage-daemon

Mainly for caching synced block in tonlib.

---------

Co-authored-by: SpyCheese <[email protected]>

* Fix generating block header proof (ton-blockchain#841)

Co-authored-by: SpyCheese <[email protected]>

* Add special overlay for validators for block broadcasting (ton-blockchain#842)

* Private overlay for broadcasting blocks

---------

Co-authored-by: SpyCheese <[email protected]>

* Add note on highload wallet pecularities

* Fix pass the selected neighbor to the download proof (ton-blockchain#854)

* Fix pass the selected neighbor to the download proof.

* Fix GetNextKeyBlocks as well

Previously, the neighbor was choosed, but it was not passed to the DownloadProof class, as a result, in got_download_token we always get a random one from overlay, but after failure, bad statistics are recorded for the previously selected neighbor, which did not participate in this operation.

* Update Docker build (ton-blockchain#816)

* Update create-release.yml

minor test

* Update Dockerfile

* Update Dockerfile

* Adjust Docker build for openssl-3

* clone recursively inside the action

* Do not count gas on special accounts in block gas limits (enabled by config) (ton-blockchain#856)

* Set higher gas limit for special accounts, don't add gas from special accounts to block total

* Make removing special accounts from block gas limits enabled by config

---------

Co-authored-by: SpyCheese <[email protected]>

* Make 2023.12 release (ton-blockchain#857)

* Update recent_changelog.md for 2023.12

* Update Changelog.md for 2023.12

* Increase gas limit for a specific wallet (enabled by config) (ton-blockchain#859)

* Improve TON build scripts and some tests (ton-blockchain#855)

* fix macOS github actions

* fix android tonlib GH action;

* fixing wasm GH action

* strip binaries

* fix randomly failing ubuntu and wasm GH actions

* fix randomly failing ubuntu and wasm GH actions

* revert some changes

* adding more nix scripts and automated native build scripts;
debug static ton compilation

* minor fix

* do not use pkg_config if path specified

* move wasm script, run with sudo action script

* weird, fixing - cp: missing destination file operand after 'assembly/native/build-ubuntu-20.04-shared.sh'

* weird, fixing - cp: missing destination file operand after 'assembly/native/build-ubuntu-20.04-shared.sh'

* ok

* some adjustments for android and win builds

* some adjustments for android and win builds

* moving stripping inside the build script

* access rights handling; adding simple binaries' tests

* make lite-client-common, fift-lib and smc-envelope deliberately static;
add -a (artifacts) flag to build scripts;

* minor wasm build fix;
create separate tonlib android build script;
remove outdated __has_trivial_copy(T)

* add windows build - WIP

* adjust android build;
improve win build;

* adjust sodium paths for android build; use proper compiler for windows build;

* add github windows build auxiliary file

* adjust wasm build

* add portable ubuntu build

* exclude some unstable tests for some time

* compile portable binaries on ubuntu-20.04

* exclude some unstable tests

* include static gsl

* restart builds

* restart builds

* restart builds

* remove libreadline, gsl and blas dependencies in linux build

* add macos build script

* install missing autoconf in macos builds

* enable all tests and see what fails

* enable win tests and restart others

* enable win tests and fix test-smartcont.cpp

* enable win tests

* use clang-16 on mac builds, add blockchain-explorer for ubuntu builds, add portable macos build

* move sudo part outside a build scripts

* move sudo part outside a build scripts

* run llvm install with sudo

* remove libgnutls28-dev before ubuntu static compilation, include blockchain-explorer into artifacts;
remove warning: definition of implicit copy constructor for 'Stat' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]

* rework wrong decision, put back system gnutls, but compile libmicrohttpd with --disable-https

* add jenkins pipeline sceleton

* WIP jenkins pipeline sceleton

* WIP jenkins pipeline changes

* WIP jenkins pipeline: add stage timout, zip and group artifacts

* WIP jenkins pipeline: macos portable build fix

* WIP jenkins pipeline: wording

* WIP jenkins pipeline: add android tonlib

* WIP jenkins pipeline: add was binaries

* WIP jenkins pipeline: add TOTAL_MEMORY 1.5gb to funcfiftlib wasm linking

* WIP jenkins pipeline: add nix build on linux aarch64

* WIP jenkins pipeline: funcfiftlib compilation fails that 16mb mem is not enough, increase to 32mb

* WIP jenkins pipeline: enable test in nix build

* WIP jenkins pipeline: add linux x86-64 nix build

* WIP jenkins pipeline: include libs in nix build

* WIP jenkins pipeline: include libs in nix build

* WIP jenkins pipeline: include mac nix build

* WIP jenkins pipeline: include mac nix build

* WIP jenkins pipeline: include mac nix build

* WIP jenkins pipeline: include mac nix build

* WIP jenkins pipeline: include mac nix build

* WIP jenkins pipeline: include mac nix build

* WIP jenkins pipeline: nix linux arm64 with openssl 1.1 for now

* WIP jenkins pipeline: working ubuntu arm64 libtonjson

* WIP jenkins pipeline: working ubuntu arm64 libtonjson + minor fix

* WIP jenkins pipeline: working ubuntu arm64 libtonjson + minor fix 2

* WIP jenkins pipeline: merry christmas

* WIP jenkins pipeline: merry christmas 2

* WIP jenkins pipeline: remove native static builds

* WIP jenkins pipeline: enable more tests

* WIP jenkins pipeline: zip artifacts better

* WIP jenkins pipeline: get rid of path in the final zip

* WIP jenkins pipeline: minor fix, include lib and smartcont folders

* WIP jenkins pipeline: minor fix, include lib and smartcont folders into nix artifacts also

* WIP jenkins pipeline: minor fix

* WIP jenkins pipeline: minor fix

* adjust github actions for new nix builds

* cleanup

* cleanup

* cleanup

* cleanup

* rename libtonlibjson.so.0.5 to libtonlibjson.so

* Add TON build instructions to README.md

* simplify

* fix test-tonlib-offline

* set timeout per test of 300 sec

* set timeout per test of 600 sec for non nix builds

* increase test timeout to 900 sec; minor changes

* use MS VS 2022 for win TON compilation; update README.md

* use MS VS 2022 for win TON compilation; update README.md

* change path to MSVC in github workflow

* change path to MSVC in groovy pipeline

* compile ton on win, with msvc 2022 community and enterprise versions

* minor fixes

* improve network tests

* remove TON compilation against macos-11 github runner

* add `choco feature enable -n allowEmptyChecksums` since pkg-config-lite-0.28-1 does not have a checksum

* abort win compilation if 3pp can't be downloaded

* increase test timeout to 30 min

* improving test-catchain

* Add Editorconfig (ton-blockchain#800)

* editorconfig

* indent 2

* .editorconfig update

* Postpone addition of overlay for block broadcasting (ton-blockchain#842)

This reverts commit a52045b.

* [emulator] Fix emulating on account_none and set account block_lt (ton-blockchain#815)

* fix acc_deleted emulation case

* set account.block_lt

* Improve validator session stats (ton-blockchain#861)

* Add changelog

* Fix setting gas limits in transaction.cpp (ton-blockchain#864)

Co-authored-by: SpyCheese <[email protected]>

---------

Co-authored-by: EmelyanenkoK <[email protected]>
Co-authored-by: SpyCheese <[email protected]>
Co-authored-by: sapientisatus <[email protected]>
Co-authored-by: neodiX <[email protected]>
Co-authored-by: Tolya <[email protected]>
Co-authored-by: neodiX42 <[email protected]>
Co-authored-by: aleksej.paschenko <[email protected]>
Co-authored-by: Andrey Kravchenko <[email protected]>
Co-authored-by: Andrey Pfau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants