|
613581bb
|
2023-07-14T13:38:04
|
|
Enable Scorecard GitHub Action
|
|
3d1d7548
|
2023-07-11T21:29:37
|
|
Increase timeout for tests
Now, it 20min for sequential runs is not enough already, I've tested it
on t3.medium manually and got the same:
Total Test time (real) = 1275.03 sec
And also if I run tests in parallel then I had few failures:
bufferevent/bufferevent_connect_fail:
FAIL /root/libevent/test/regress_bufferevent.c:865: didn't fail? what 128
FAIL /root/libevent/test/regress_bufferevent.c:906: assert(test_ok == 1): 0 vs 1
FAIL /root/libevent/test/regress_bufferevent.c:839: assert(n_events_invoked == 1): 2 vs 1bufferevent/bufferevent_connect_fail_eventcb_defer:
FAIL /root/libevent/test/regress_bufferevent.c:839: assert(n_events_invoked == 1): 2 vs 1bufferevent/bufferevent_connect_fail_eventcb: 3/386 TESTS FAILED. (45 skipped)
v2: Increase timeout more (for netbsd)
|
|
7cd51ae1
|
2023-06-06T12:43:02
|
|
Add CI tests which require SSL libraries
|
|
bdb343e1
|
2023-05-04T09:49:28
|
|
ci: use newer actions/x versions for master jobs
Now that the jobs are running again, a number of deprecation warnings
have surfaced
https://github.com/libevent/libevent/actions/runs/4876367881:
```bash
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2.0.0.
```
Looks like the most straightforward thing todo here is just use the
newer version of the checkout action.
Also move to the v1 tag for the coveralls job, rather than a pinned,
much older version (the latest release is 1.2.5, https://github.com/coverallsapp/github-action/releases).
Same again for actions/cache.
|
|
21173669
|
2023-05-04T09:38:56
|
|
ci: use OpenBSD 7.2 over 7.1
In the most recent CI run, all the OpenBSD CI jobs failed, i.e
https://github.com/libevent/libevent/actions/runs/4876367885/jobs/8699759831,
this seems to be due to the fact that packages for 7.1 have been removed
from https://cdn.openbsd.org/pub/OpenBSD/ (only has 7.2 & 7.3):
```bash
Config file: openbsd-7.1.conf
https://cdn.openbsd.org/pub/OpenBSD/7.1/packages/amd64/: no such dir
Can't find rsync-3.2.3p0
Couldn't install rsync-3.2.3p0
exec shell: bash run.sh showDebugInfo
```
Switch to using 7.2, which is available, so that the CI will run.
|
|
60ad22d4
|
2023-05-03T16:28:58
|
|
actions: use supported version of Ubuntu
It looks like these jobs are failing to run, because support for
ubuntu-18.04 has been removed entirely, see:
https://github.com/actions/runner-images/issues/6002.
Migrate to ubuntu-20.04.
|
|
6e1826dd
|
2023-03-08T21:34:37
|
|
ci: fix typo in yaml for cifuzz
Follow-up for: #1431
|
|
606056d6
|
2023-03-06T21:22:10
|
|
ci: switch to ubuntu 20.04
github action reports "internal error" for builds on ubuntu 18.04:
linux-cmake-job (ubuntu-18.04, COMPILER_CLANG)
This is a scheduled Ubuntu-18.04 brownout. The Ubuntu-18.04 environment is deprecated and will be removed on April 1st, 2023. For more details, see https://github.com/actions/runner-images/issues/6002
linux-cmake-job (ubuntu-18.04, COMPILER_CLANG)
GitHub Actions has encountered an internal error when running your job.
|
|
99a4b1a7
|
2023-03-06T14:26:11
|
|
ci: set minimal permissions on GitHub Actions
Change made by setting top-level read-only permisisons, and any
other necessary permissions set as job-level.
Closes #1421
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
|
|
28c28f07
|
2023-02-13T08:09:21
|
|
Merge pull request #1414 from azat/build/deprecate-autotools
Deprecate autotools build
|
|
1df2a5a6
|
2023-02-12T17:05:20
|
|
test: enable allocator_may_return_null=1 for calloc with ENOMEM test
|
|
c437b84a
|
2023-02-12T15:24:06
|
|
Remove extra builds for autotools on CI
We have almost the same matrix for cmake and autotools, but autotools is
considered to be deprecated from now on, plus our CI takes too much
time, especially non-linux, since we are using public infrastucture.
So let's remove extra builds.
|
|
f7e39d2e
|
2023-02-12T16:29:45
|
|
ci: bump cache and checkout plugins
|
|
b5a6940d
|
2023-02-12T16:11:02
|
|
ci: fix paths-ignore
|
|
7e6d9b0b
|
2023-02-12T15:20:30
|
|
.github/workflows/build.yml: remove trailing whitespaces
|
|
d8ecb88f
|
2022-11-26T19:40:02
|
|
ci: add CIFuzz Github action (#1382)
Signed-off-by: David Korczynski <david@adalogics.com>
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
|
|
45c66e48
|
2022-11-13T20:39:17
|
|
Add CI checks for OpenBSD (#1326)
Initially 6.9 and 7.1 had been added, however due to some issues (you can read
about them below) 6.9 had been disabled.
netbsd 6.9 does not have correct library namings for autotools:
2022-08-17T04:59:58.8339420Z libtool: link: (cd ".libs" && rm -f "libevent.so.1.0" && ln -s "libevent-2.2.so.1.0" "libevent.so.1.0")
$ grep ^library_names= libevent.la·
library_names='libevent-2.2.so.1.0 libevent.so.1.0'
# And this is wrong, it should be:
libtool: link: (cd ".libs" && rm -f "libevent-2.2.so.1" && ln -s "libevent-2.2.so.1.0.0" "libevent-2.2.so.1")
libtool: link: (cd ".libs" && rm -f "libevent.so" && ln -s "libevent-2.2.so.1.0.0" "libevent.so")
library_names='libevent-2.2.so.1.0.0 libevent-2.2.so.1 libevent.so'
**And I think that 7.1 should also fail, however it has system-wide libevent installed with evdns in the libevent.so**
Also there are some issues with `TEST_EXPORT_SHARED` test, because of libraries naming:
2022-09-13T06:38:29.2150790Z [test-export] test for install tree(in system-wide path)
2022-09-13T06:38:29.2151500Z [test-export] fail: link core and run core expects success but gets failure.
2022-09-13T06:38:29.2063870Z /usr/bin/cc CMakeFiles/test-export.dir/test-export.c.o -o test-export -L/usr/local/lib -Wl,-z,origin,-rpath,/usr/local/lib -levent_core-2.2 -lpthread -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib·
2022-09-13T06:38:29.2152190Z ld: error: unable to find library -levent_core-2.2
2022-09-13T06:38:28.3915680Z -- Install configuration: "Release"
2022-09-13T06:38:28.3916700Z -- Up-to-date: /usr/local/lib/libevent_core-2.2.so.1.0.0
2022-09-13T06:38:28.3917110Z -- Up-to-date: /usr/local/lib/libevent_core-2.2.so.1
2022-09-13T06:38:28.3917480Z -- Up-to-date: /usr/local/lib/libevent_core.so
# no libevent_core-2.2.so
So I have to disable it too.
Co-authored-by: Azat Khuzhin <azat@libevent.org>
|
|
f8bb9d84
|
2022-09-16T15:55:56
|
|
Fix socketpair failure when temporary directory has non-latin character
|
|
ceb6bcd6
|
2022-09-14T22:14:28
|
|
ci: disable freebsd 13.0 builds (due to issues in the image)
Before it fails with:
exec ssh: pkg install -y mbedtls cmake python3
/bin/bash /Users/runner/work/_actions/vmactions/freebsd-vm/v0/run.sh execSSH
Config file: freebsd-13.0.conf
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
Installing pkg-1.18.3...
Newer FreeBSD version for package pkg:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1301000
- running kernel: 1300139
Ignore the mismatch and continue? [y/N]:
Failed to install the following 1 package(s): /tmp//pkg.txz.18yvwm
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Error: The process '/bin/bash' failed with exit code 1
And now with:
ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /usr/local/lib/libpython3.9.so.1.0 not found
Commenting for now, anyway we do not need such huge CI matrix, because
we have only public workers, and they are pretty busy.
Cc: @Neilpang
|
|
9174ba92
|
2022-09-14T22:13:12
|
|
.github/workflows/build.yml: Cleanup trailing whitespaces
|
|
b2aca3bc
|
2022-08-07T19:37:32
|
|
fix freebsd checks
|
|
c08ee399
|
2022-08-07T19:23:04
|
|
fix freebsd checks
|
|
4f662d66
|
2022-08-07T18:56:00
|
|
Add freebsd CI checks
ci/linux skip
ci/macos skip
ci/windows skip
ci/mingw skip
|
|
3e7a7380
|
2022-07-12T21:57:41
|
|
ci: increase number of attempts to 5
|
|
bfa526ce
|
2022-07-12T21:08:00
|
|
ci: add retries
Right now it is possible for some tests to fail, because of lack of CPU
time.
And it is better to have green CI even if this will take longer.
|
|
87c016a0
|
2022-07-12T08:03:36
|
|
ci: use ubuntu 22.04 with clang 11 for sanitizers build
There are periodically some heap-use-after-free reported in ratelim
tests by TSan, which I cannot reproduce locally and even on CI it is
flaky.
Let's try to use recent clang, maybe it fixes some issues in sanitizers.
Refs: #1206
|
|
15780dd2
|
2022-07-11T03:45:32
|
|
ci: disable broken mingw cmake builds (#1207)
|
|
a3572af7
|
2022-07-11T03:50:16
|
|
ci: fix master/upstream workflow (syntax error)
|
|
587f26fb
|
2022-07-10T16:49:53
|
|
Rework CI to keep everything in one workflow (by using reusable workflow)
Right now because we have separate workflows there is no one page with
all the jobs, instead we have separate page for each workflow (linux,
windows, ...)
This is pretty inconvenient, so let's make it cleaner, and now we will
have only two:
- for pull requests
- for upstream/master
|
|
63ef005a
|
2022-07-10T15:47:00
|
|
ci: drop processing "ci skip" message in commit in favor of official skip
Since [1] github actions official support skipping workflows based on
the message.
[1]: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
|
|
fc24a299
|
2022-07-10T15:10:20
|
|
ci: add ability skip specific workflow
Public CI workers has pretty high load, and sometimes you need to test
only specific workflow, i.e. windows.
So let's add ability to limit which workflow should be run.
|
|
54078b30
|
2022-07-10T13:11:13
|
|
ci: use ubuntu 22.04 with OpenSSl 3.0 instead of building OpenSSL from sources
|
|
fb549006
|
2022-07-10T12:24:42
|
|
ci: set LD_LIBRARY_PATH for openssl 3.0 build
Fixes:
/home/runner/work/libevent/libevent/build/test/.libs/regress: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
|
|
a29570a1
|
2022-06-19T10:45:57
|
|
Attempt to add OpenSSL 3 to the Linux build matrix
v2: fix echo messages
v3: fix autotools build (wrong path to pkg config)
|
|
acb7ef98
|
2022-07-09T21:17:06
|
|
ci/macos: remove separate openssl 1.1 from build matrix
@ploxiln:
On current homebrew, openssl@1.1 is the only openssl:
[pierce@plo-mbp15 libevent]$ brew --prefix openssl
/usr/local/opt/openssl@1.1
[pierce@plo-mbp15 libevent]$ brew info openssl
openssl@1.1: stable 1.1.1g (bottled) [keg-only]
Cryptography and SSL/TLS Toolkit
@fanquake
Indeed. OpenSSL 1.0 was removed from homebew in Homebrew/homebrew-core#46876. Related discussion also in Homebrew/homebrew-core#46454.
|
|
a9441ed6
|
2022-07-09T18:43:29
|
|
ci: fix cmake build w/o OPENSSL_ROOT_DIR
cmake build rules does not have detection of OPENSSL_ROOT_DIR via brew,
so we cannot run such builds on CI.
Always set OPENSSL_ROOT_DIR for cmake.
|
|
4954b27b
|
2022-07-09T18:41:39
|
|
ci: remove separate build for BREW_AUTODETECT_OPENSSL (use it by default)
|
|
1915b564
|
2022-07-09T14:47:12
|
|
Run builds with -Werror on CI for linux
|
|
21e28626
|
2022-04-06T14:35:00
|
|
Fix mingw pipeline (by using correct PATH to msys64)
I found the correct path by looking at the _Disable Key Refresh_ step in
_mingw::autotools::set up msys2_ task
(https://github.com/rectified95/libevent/runs/5858227589?check_suite_focus=true)
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe "((Get-Content -path **D:\a\_temp\msys64**\etc\post-install\07-pacman-key.post -Raw) ...
|
|
097ff9a4
|
2022-04-06T13:44:27
|
|
Fix windows pipeline (by updating vcpkg version to latest)
The Windows CI is failing at the prepare vcpkg step while installing zlib
Changing the vcpkg commit hash to point to latest release
https://github.com/microsoft/vcpkg/releases/tag/2022.03.10 as opposed to
sometime in 2019 to see if that fixes it.
|
|
e1ecc6fa
|
2021-12-02T10:27:16
|
|
Switch coverage to ubuntu 18.04
It seems that there is no 16.04 image anymore, since github actions was
not able to find it for 24 hours [1].
[1]: https://github.com/libevent/libevent/actions/runs/1522612189
|
|
3b9c7dd6
|
2021-11-30T22:37:32
|
|
ci: remove deprecated windows-2016 image
Refs: https://github.blog/changelog/2021-10-19-github-actions-the-windows-2016-runner-image-will-be-removed-from-github-hosted-runners-on-march-15-2022
|
|
048907a5
|
2021-09-19T15:52:02
|
|
github/workflows/macos.yml: fix test step name
|
|
12e6d6eb
|
2021-09-19T12:33:44
|
|
github/workflows/mingw: use ctest --output-on-failure
Otherwise it is hard to understand the problem [1].
[1]: https://github.com/azat/libevent/runs/3643912284
|
|
39dcd52b
|
2021-08-10T22:04:43
|
|
ci: split build and test into separate jobs
|
|
bceab045
|
2021-09-17T01:37:19
|
|
ci: fix macOS mbedtls version/search
mbedtls just updated to version 3.0, install mbedtls@2 variant,
which needs more help being located since it's no longer the
default and no longer linked into the typical /usr/local dirs
also gitignore mbedtls sample program binaries
|
|
196a36af
|
2021-07-09T12:34:37
|
|
ci: install pkg-config in mingw-w64 CI
|
|
aba6548c
|
2021-03-23T09:50:03
|
|
Switch to lukka/run-vcpkg@v7 and update vcpkgGitCommitId
Let's see if it uses set-env or not [1]:
Run lukka/run-vcpkg@v2
Restore vcpkg and its artifacts from cache
Set output env vars
Error: Unable to process command '::set-env name=RUNVCPKG_VCPKG_ROOT::D:\a\libevent\vcpkg' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
[1]: https://github.com/libevent/libevent/runs/2172680596?check_suite_focus=true#step:4:24
And this one [2]:
error: could not open file /var/cache/pacman/pkg/libzstd-1.5.0-1-x86_64.pkg.tar.zst: Child process exited with status 127
error: could not open file /var/cache/pacman/pkg/zstd-1.5.0-1-x86_64.pkg.tar.zst: Child process exited with status 127
error: could not open file /var/cache/pacman/pkg/pacman-5.2.2-23-x86_64.pkg.tar.zst: Child process exited with status 127
error: failed to commit transaction (cannot open package file)
[2]: https://github.com/libevent/libevent/pull/1168/checks?check_run_id=2706159518#step:4:367
|
|
8e5e7bb8
|
2021-03-23T09:40:30
|
|
ci: fix upload-artifacts for linux dist build
Fixes [1]:
Run actions/upload-artifact@v1
Error: Path does not exist /home/runner/work/libevent/libevent/build
Error: Exit code 1 returned from process: file name '/home/runner/runners/2.277.1/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.
[1]: https://github.com/libevent/libevent/runs/2172680722?check_suite_focus=true
|
|
29b1404b
|
2020-11-02T00:39:26
|
|
Add autodetection of openssl via brew into build matrix
|
|
a7d3cd40
|
2020-09-14T21:30:02
|
|
Add build w/o any SSL support (i.e. w/o openssl and mbedtls)
This pure build w/o SSL has been removed in mbedtls PR - #1028
|
|
cf2ac1af
|
2020-08-05T12:12:08
|
|
fix CI:Update cache version and replace setup-msys2
|
|
92b9109e
|
2020-08-05T10:14:53
|
|
fix CI: Install vcpkg through the source code to temporarily solve the windows CI problem
|
|
62c152d9
|
2020-07-28T11:03:46
|
|
Remove reduntant variables in workflows with deploy
Fixes: bfbbc882 ("Change user.name/user.email to robot for deploy via github actions")
|
|
bfbbc882
|
2020-07-28T11:02:15
|
|
Change user.name/user.email to robot for deploy via github actions
|
|
50dac7ad
|
2020-07-23T02:01:02
|
|
ci/doxygen: install missing libmbedtls-dev
|
|
8ec46826
|
2020-07-23T01:08:22
|
|
ci/coverage: add missing libmbedtls-dev
|
|
dad699cc
|
2020-05-27T15:29:42
|
|
add mbedtls to CI
|
|
e9a6b127
|
2020-07-05T13:55:53
|
|
ci/linux: create dist artifact only if dist archive was built
Fixes: 512c88ce ("ci/linux: add dist check")
|
|
9da1743b
|
2020-07-05T11:21:04
|
|
ci: set build type to debug with sanitizers
|
|
1cea01d6
|
2020-06-28T17:10:03
|
|
Add abi-check report into artifacts
|
|
3fec471c
|
2020-06-25T21:34:02
|
|
Add LSAN suppressions (for OpenSSL temporary quirk)
|
|
b90b1925
|
2020-06-25T21:01:53
|
|
Add TSAN suppressions
|
|
0db4e1c4
|
2020-06-25T21:01:53
|
|
ci: run tests under sanitizers
Added:
- ASAN
- TSAN
- UBSAN
And disable some tests that are know to have leaks.
|
|
c753ae87
|
2020-05-28T11:50:49
|
|
CI: catch failures and retry
|
|
15917b42
|
2020-05-06T03:03:27
|
|
Include details of the ABI compatibility report
|
|
889ad6d6
|
2020-05-06T02:10:34
|
|
Add ABI compatibility report deploy
Closes: #887
|
|
512c88ce
|
2020-05-05T15:22:32
|
|
ci/linux: add dist check
|
|
c19ebffb
|
2020-05-05T14:57:59
|
|
ci: change cache key for windows/mingw
Should fix the following current failures:
- 2020-05-04T22:32:02.9490248Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): error MSB6006: "cmd.exe" exited with code 3. [D:\a\libevent\libevent\build\regress.vcxproj]
- cmake : /usr/bin/sh: /C/hostedtoolcache/windows/Python/3.7.6/x64/python.exe: No such file or directory
P.S. I guess python has another path, but on my fork it is the same and
it passes.
|
|
072dfacf
|
2020-05-05T13:57:15
|
|
Do not run CI if message contains "ci skip"
https://github.com/marketplace/actions/skip-based-on-commit-message
|
|
28eb0d91
|
2020-05-04T23:42:22
|
|
github actions looks good - drop travis/appveyor (#951)
Actually right now github's VMs is better then travis/appveyor.
|
|
6dea1514
|
2020-03-22T18:35:24
|
|
github workflows: ignore previous cache
modify the cache key to ignore previous cache
for the changes of configure.ac/CMakeLists.txt
to take effect.
|
|
93eb1b70
|
2020-03-22T13:51:46
|
|
github workflows: test for mingw via cmake
|
|
a3cb3119
|
2020-03-17T19:57:10
|
|
github workflow: fix configure error on mingw-w64
|
|
84bb2c18
|
2020-01-21T19:51:48
|
|
github actions: test and coverage
|
|
d151968f
|
2020-01-21T10:14:11
|
|
github actions: doxygen
|
|
05467445
|
2019-09-08T11:47:04
|
|
Deploy documentation to libevent-doc.github.io
Based-on: https://github.com/ygj6/libevent/commit/4a86dcb4df0f9dc69f7722a1ba7567ef3b8447c8.patch (by @ygj6)
|